mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
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
|
||||
|
||||
|
||||
def do_sign(app_dir):
|
||||
|
||||
def do_sign(app_dir: str) -> None:
|
||||
with current_dir(join(app_dir, 'Contents')):
|
||||
# Sign all .so files
|
||||
so_files = {x for x in files_in('.') if x.endswith('.so')}
|
||||
|
|
@ -109,6 +110,10 @@ def do_sign(app_dir):
|
|||
# Sign kitten
|
||||
with current_dir('MacOS'):
|
||||
codesign('kitten')
|
||||
# Sign sub-apps
|
||||
for x in os.listdir('.'):
|
||||
if x.endswith('.app'):
|
||||
codesign(x)
|
||||
|
||||
# Now sign the main app
|
||||
codesign(app_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue