mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-19 13:45:16 +00:00
Fix deprecation warning on macOS
This commit is contained in:
parent
0f594ef950
commit
8e6b58b1db
1 changed files with 2 additions and 1 deletions
3
setup.py
3
setup.py
|
|
@ -680,7 +680,8 @@ Categories=System;TerminalEmulator;
|
|||
LSApplicationCategoryType='public.app-category.utilities',
|
||||
LSEnvironment={'KITTY_LAUNCHED_BY_LAUNCH_SERVICES': '1'},
|
||||
)
|
||||
plistlib.writePlist(pl, 'Info.plist')
|
||||
with open('Info.plist', 'wb') as fp:
|
||||
plistlib.dump(pl, fp)
|
||||
os.rename('../share', 'Resources')
|
||||
os.rename('../bin', 'MacOS')
|
||||
os.rename('../lib', 'Frameworks')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue