1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 09:46:25 +00:00

Update build scripts

This commit is contained in:
Paweł Jastrzębski
2019-10-21 14:14:57 +02:00
parent 67e913ed9e
commit c3dad087d3
7 changed files with 17 additions and 36 deletions

2
kcc.py
View File

@@ -31,8 +31,6 @@ if sys.platform.startswith('darwin'):
'/../Resources:/Applications/Kindle Comic Creator/Kindle Comic Creator.app/Contents/' \
'MacOS:/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:
os.chdir(os.path.dirname(os.path.abspath(__file__)))
elif sys.platform.startswith('win'):