about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@iosphe.re>2015-09-17 10:35:54 +0200
committerPaweł Jastrzębski <pawelj@iosphe.re>2015-09-17 10:35:54 +0200
commit112917754ac6e319f3d7d24eae31d8ba584c1930 (patch)
tree8b9aa7883674b906c2677dbedd18395ab5c84023
parentUpdated README + version bump (diff)
downloadkcc-112917754ac6e319f3d7d24eae31d8ba584c1930.tar.gz
kcc-112917754ac6e319f3d7d24eae31d8ba584c1930.tar.bz2
kcc-112917754ac6e319f3d7d24eae31d8ba584c1930.zip
Fixed OS X GUI anomalies
-rwxr-xr-xkcc.py1
-rwxr-xr-xsetup.py2
2 files changed, 2 insertions, 1 deletions
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'