[gtk-mac-bundler] Sort the paths in reverse (so MacOS comes after Resources).
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-mac-bundler] Sort the paths in reverse (so MacOS comes after Resources).
- Date: Tue, 16 Aug 2016 19:09:18 +0000 (UTC)
commit 06d75257c7b374443d419e1af227febc17d8f3e6
Author: John Ralls <jralls ceridwen us>
Date: Sun Aug 14 16:11:18 2016 -0700
Sort the paths in reverse (so MacOS comes after Resources).
So that all of the resources are codesigned before the executable.
bundler/bundler.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/bundler/bundler.py b/bundler/bundler.py
index 6ccfe10..fbf728c 100644
--- a/bundler/bundler.py
+++ b/bundler/bundler.py
@@ -504,6 +504,7 @@ class Bundler:
cert = os.getenv("APPLICATION_CERT")
paths = self.list_copied_binaries()
ident = self.project.get_bundle_id()
+ paths.sort(reverse=True)
for path in paths:
cmdargs = ['codesign', '-s', cert, '-i', ident, path]
result = os.spawnvp(os.P_WAIT, 'codesign', cmdargs)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]