From 112917754ac6e319f3d7d24eae31d8ba584c1930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Thu, 17 Sep 2015 10:35:54 +0200 Subject: [PATCH] Fixed OS X GUI anomalies --- kcc.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kcc.py b/kcc.py index f9ca259..dd245cb 100755 --- a/kcc.py +++ b/kcc.py @@ -30,6 +30,7 @@ if sys.platform.startswith('darwin'): os.environ['PATH'] = os.path.dirname(os.path.abspath(__file__)) + '/other/:' + os.environ['PATH'] else: os.environ['PATH'] = './../Resources:/usr/local/bin:/usr/bin:/bin' + os.system('defaults write com.kindlecomicconverter.KindleComicConverter ApplePersistenceIgnoreState YES') elif sys.platform.startswith('win'): if getattr(sys, 'frozen', False): os.chdir(os.path.dirname(os.path.abspath(sys.executable))) diff --git a/setup.py b/setup.py index bd038b8..52efd13 100755 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ if platform == 'darwin': CFBundleTypeRole='Editor', ) ], - CFBundleIdentifier='re.iosphe.kcc', + CFBundleIdentifier='com.kindlecomicconverter.KindleComicConverter', LSMinimumSystemVersion='10.8.0', LSEnvironment=dict( PATH='./../Resources:/usr/local/bin:/usr/bin:/bin'