-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd753af
commit 7e08e28
Showing
1 changed file
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
diff --git a/TOOLS/osxbundle.py b/TOOLS/osxbundle.py | ||
index 98699e478b..d02ecf610e 100755 | ||
--- a/TOOLS/osxbundle.py | ||
+++ b/TOOLS/osxbundle.py | ||
@@ -39,7 +39,7 @@ def apply_plist_template(plist_file, version): | ||
print(line.rstrip().replace('${VERSION}', version)) | ||
diff -Naur source-old/TOOLS/osxbundle.py source-new/TOOLS/osxbundle.py | ||
--- source-old/TOOLS/osxbundle.py 1969-12-31 21:00:01.000000000 -0300 | ||
+++ source-new/TOOLS/osxbundle.py 2024-04-18 23:30:17.900376262 -0300 | ||
@@ -42,8 +42,8 @@ | ||
resolved_dir = os.path.join(bundle_path(binary_name), dir) | ||
for root, _dirs, files in os.walk(resolved_dir): | ||
for f in files: | ||
- subprocess.run(['codesign', '--force', '-s', '-', os.path.join(root, f)]) | ||
- subprocess.run(['codesign', '--force', '-s', '-', bundle_path(binary_name)]) | ||
+ subprocess.run(['rcodesign', 'sign', os.path.join(root, f)]) | ||
+ subprocess.run(['rcodesign', 'sign', bundle_path(binary_name)]) | ||
|
||
def sign_bundle(binary_name): | ||
- sh('codesign --force --deep -s - ' + bundle_path(binary_name)) | ||
+ sh('rcodesign sign ' + bundle_path(binary_name)) | ||
|
||
def bundle_version(): | ||
if os.path.exists('VERSION'): | ||
def bundle_version(src_path): | ||
version = 'UNKNOWN' |