Fix signing of quick access sub-app
This commit is contained in:
parent
f270a17c70
commit
20dacd2398
1 changed files with 6 additions and 1 deletions
|
|
@ -95,7 +95,8 @@ def expand_dirs(items, exclude=lambda x: x.endswith('.so')):
|
||||||
return items
|
return items
|
||||||
|
|
||||||
|
|
||||||
def do_sign(app_dir):
|
|
||||||
|
def do_sign(app_dir: str) -> None:
|
||||||
with current_dir(join(app_dir, 'Contents')):
|
with current_dir(join(app_dir, 'Contents')):
|
||||||
# Sign all .so files
|
# Sign all .so files
|
||||||
so_files = {x for x in files_in('.') if x.endswith('.so')}
|
so_files = {x for x in files_in('.') if x.endswith('.so')}
|
||||||
|
|
@ -109,6 +110,10 @@ def do_sign(app_dir):
|
||||||
# Sign kitten
|
# Sign kitten
|
||||||
with current_dir('MacOS'):
|
with current_dir('MacOS'):
|
||||||
codesign('kitten')
|
codesign('kitten')
|
||||||
|
# Sign sub-apps
|
||||||
|
for x in os.listdir('.'):
|
||||||
|
if x.endswith('.app'):
|
||||||
|
codesign(x)
|
||||||
|
|
||||||
# Now sign the main app
|
# Now sign the main app
|
||||||
codesign(app_dir)
|
codesign(app_dir)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue