1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Fixed OS X GUI anomalies

This commit is contained in:
Paweł Jastrzębski
2015-09-17 10:35:54 +02:00
parent 65774c6f12
commit 112917754a
2 changed files with 2 additions and 1 deletions

1
kcc.py
View File

@@ -30,6 +30,7 @@ if sys.platform.startswith('darwin'):
os.environ['PATH'] = os.path.dirname(os.path.abspath(__file__)) + '/other/:' + os.environ['PATH'] os.environ['PATH'] = os.path.dirname(os.path.abspath(__file__)) + '/other/:' + os.environ['PATH']
else: else:
os.environ['PATH'] = './../Resources:/usr/local/bin:/usr/bin:/bin' os.environ['PATH'] = './../Resources:/usr/local/bin:/usr/bin:/bin'
os.system('defaults write com.kindlecomicconverter.KindleComicConverter ApplePersistenceIgnoreState YES')
elif sys.platform.startswith('win'): elif sys.platform.startswith('win'):
if getattr(sys, 'frozen', False): if getattr(sys, 'frozen', False):
os.chdir(os.path.dirname(os.path.abspath(sys.executable))) os.chdir(os.path.dirname(os.path.abspath(sys.executable)))

View File

@@ -49,7 +49,7 @@ if platform == 'darwin':
CFBundleTypeRole='Editor', CFBundleTypeRole='Editor',
) )
], ],
CFBundleIdentifier='re.iosphe.kcc', CFBundleIdentifier='com.kindlecomicconverter.KindleComicConverter',
LSMinimumSystemVersion='10.8.0', LSMinimumSystemVersion='10.8.0',
LSEnvironment=dict( LSEnvironment=dict(
PATH='./../Resources:/usr/local/bin:/usr/bin:/bin' PATH='./../Resources:/usr/local/bin:/usr/bin:/bin'