This commit is contained in:
Kovid Goyal 2020-06-05 20:27:18 +05:30
parent b2c50c0c41
commit 4d2a91ecf2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -7,7 +7,8 @@ import plistlib
from glob import glob from glob import glob
from bypy.macos_sign import ( from bypy.macos_sign import (
codesign, create_entitlements_file, make_certificate_useable, notarize_app, run codesign, create_entitlements_file, make_certificate_useable, notarize_app,
verify_signature
) )
from bypy.utils import current_dir from bypy.utils import current_dir
@ -95,10 +96,7 @@ def do_sign_app(appdir):
# Now sign the main app # Now sign the main app
codesign(appdir) codesign(appdir)
# Verify the signature verify_signature(appdir)
run('codesign', '-vvv', '--deep', '--strict', appdir)
run('spctl', '--verbose=4', '--assess', '--type', 'execute', appdir)
return 0 return 0