Skip to content

Commit

Permalink
Remove signature in build script
Browse files Browse the repository at this point in the history
Note that this is a temporary solution because `--remote-signature` is
an undocumented option and subject to removal.

(cherry picked from commit 12e8a72)
  • Loading branch information
FranklinYu committed Jan 3, 2020
1 parent fa0bf9d commit 7b93d1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tools/build_for_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ def main(argv):
)
shutil.copytree(source_app_path, APP_NAME)

# TODO: find a better way because this is private API
execute('codesign', '--remove-signature', APP_NAME)

# Zip.
with zipfile.ZipFile(ZIP_NAME, 'w') as f:
archive_dir(f, APP_NAME)
Expand Down

0 comments on commit 7b93d1c

Please sign in to comment.