mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
Add stapling after notarization
This commit is contained in:
parent
b56ff52ad9
commit
dacea9a2bc
@ -67,4 +67,10 @@ while not done:
|
||||
print("\033[1K\r(+{:d}m{:02d}s) {}: {}".format(mins, secs, st, status), end='', flush=True)
|
||||
|
||||
print("\n")
|
||||
sys.exit(0 if success else 42)
|
||||
if not success:
|
||||
sys.exit(42)
|
||||
|
||||
print("Stapling {}".format(pkg))
|
||||
result = subprocess.run(['xcrun', 'stapler', 'staple', pkg])
|
||||
|
||||
result.check_returncode()
|
||||
|
Loading…
Reference in New Issue
Block a user