From 2c770f45627247902c921f4692acfb0f20a79a8a Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Thu, 25 Jul 2024 13:58:29 -0700 Subject: [PATCH] search for kindlegen in %UserProfile% --- kcc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kcc.py b/kcc.py index b99654f..78978cf 100755 --- a/kcc.py +++ b/kcc.py @@ -50,6 +50,7 @@ elif sys.platform.startswith('win'): win_paths = [ os.path.expandvars('%LOCALAPPDATA%\\Amazon\\KC2'), os.path.expandvars('%LOCALAPPDATA%\\Amazon\\Kindle Previewer 3\\lib\\fc\\bin\\'), + os.path.expandvars('%UserProfile%\\Kindle Previewer 3\\lib\\fc\\bin\\'), 'C:\\Apps\\Kindle Previewer 3\\lib\\fc\\bin', 'D:\\Apps\\Kindle Previewer 3\\lib\\fc\\bin', 'E:\\Apps\\Kindle Previewer 3\\lib\\fc\\bin',