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

View File

@@ -680,7 +680,8 @@ Categories=System;TerminalEmulator;
LSApplicationCategoryType='public.app-category.utilities', LSApplicationCategoryType='public.app-category.utilities',
LSEnvironment={'KITTY_LAUNCHED_BY_LAUNCH_SERVICES': '1'}, 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('../share', 'Resources')
os.rename('../bin', 'MacOS') os.rename('../bin', 'MacOS')
os.rename('../lib', 'Frameworks') os.rename('../lib', 'Frameworks')