mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 09:46:25 +00:00
Display kindlegen path (#571)
* add %LOCALAPPDATA%\\Amazon\\KC2 * fix kindlegen link * expandvars * remove link * print where kindlegen * adjust where command * remove platform
This commit is contained in:
3
kcc.py
3
kcc.py
@@ -46,7 +46,8 @@ if sys.platform.startswith('darwin'):
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
elif sys.platform.startswith('win'):
|
||||
win_paths = [
|
||||
'%LOCALAPPDATA%\\Amazon\\Kindle Previewer 3\\lib\\fc\\bin\\',
|
||||
os.path.expandvars('%LOCALAPPDATA%\\Amazon\\Kindle Previewer 3\\lib\\fc\\bin\\'),
|
||||
os.path.expandvars('%LOCALAPPDATA%\\Amazon\\KC2'),
|
||||
'C:\\Program Files\\7-Zip',
|
||||
]
|
||||
if getattr(sys, 'frozen', False):
|
||||
|
||||
Reference in New Issue
Block a user