Merge branch 'writePlist_deprecation' of https://github.com/Luflosi/kitty

This commit is contained in:
Kovid Goyal 2018-08-28 04:54:17 +05:30
commit 63a2ecb89c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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')