Skip to content

Commit

Permalink
add more 7z Windows locations
Browse files Browse the repository at this point in the history
  • Loading branch information
axu2 committed Mar 25, 2024
1 parent e0e6606 commit 0981ec3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
os.path.expandvars('%LOCALAPPDATA%\\Amazon\\KC2'),
os.path.expandvars('%LOCALAPPDATA%\\Amazon\\Kindle Previewer 3\\lib\\fc\\bin\\'),
'C:\\Program Files\\7-Zip',
'D:\\Program Files\\7-Zip',
'E:\\Program Files\\7-Zip',
]
if getattr(sys, 'frozen', False):
os.environ['PATH'] += os.pathsep + os.pathsep.join(win_paths)
Expand Down

0 comments on commit 0981ec3

Please sign in to comment.