diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2019-03-07 14:59:04 +0100 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2019-03-07 16:24:41 +0100 |
commit | a6f9e8425128d5a22143b305c1b933443ec5b46a (patch) | |
tree | 5e4b10f4eb3ceef427b0d6a77197cc7743d60dcc /kcc.py | |
parent | Tweaks for Windows binary (diff) | |
download | kcc-a6f9e8425128d5a22143b305c1b933443ec5b46a.tar.gz kcc-a6f9e8425128d5a22143b305c1b933443ec5b46a.tar.bz2 kcc-a6f9e8425128d5a22143b305c1b933443ec5b46a.zip |
Tweaks for OSX binary
Diffstat (limited to 'kcc.py')
-rwxr-xr-x | kcc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kcc.py b/kcc.py index b05e8c1..61a9118 100755 --- a/kcc.py +++ b/kcc.py @@ -29,6 +29,7 @@ if sys.platform.startswith('darwin'): if getattr(sys, 'frozen', False): os.environ['PATH'] = os.path.dirname(os.path.abspath(sys.executable)) + \ '/../Resources:/usr/local/bin:/usr/bin:/bin' + os.chdir(os.path.dirname(os.path.abspath(sys.executable)) + '/../Resources') os.system('defaults write com.kindlecomicconverter.KindleComicConverter ApplePersistenceIgnoreState YES') os.system('defaults write com.kindlecomicconverter.KindleComicConverter NSInitialToolTipDelay -int 1000') else: |