about summary refs log tree commit diff
path: root/kcc.py
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 /kcc.py
parentUpdated README + version bump (diff)
downloadkcc-112917754ac6e319f3d7d24eae31d8ba584c1930.tar.gz
kcc-112917754ac6e319f3d7d24eae31d8ba584c1930.tar.bz2
kcc-112917754ac6e319f3d7d24eae31d8ba584c1930.zip
Fixed OS X GUI anomalies
Diffstat (limited to 'kcc.py')
-rwxr-xr-xkcc.py1
1 files changed, 1 insertions, 0 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)))