From 9fe82a9dd4410deb13d1e9422ace15e4df12ad35 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Tue, 25 Jun 2024 12:21:48 -0700 Subject: [PATCH] improve kindlegen detection windows (#688) * improve kindlegen detection windows * add C:\Apps folders --- kcc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kcc.py b/kcc.py index f3bbbd5..b99654f 100755 --- a/kcc.py +++ b/kcc.py @@ -50,6 +50,9 @@ elif sys.platform.startswith('win'): win_paths = [ os.path.expandvars('%LOCALAPPDATA%\\Amazon\\KC2'), os.path.expandvars('%LOCALAPPDATA%\\Amazon\\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', 'C:\\Program Files\\7-Zip', 'D:\\Program Files\\7-Zip', 'E:\\Program Files\\7-Zip',