mirror of
https://github.com/ciromattia/kcc
synced 2026-10-17 06:52:32 +00:00
increase search range
This commit is contained in:
@@ -1759,8 +1759,8 @@ def detectKindleGen(GUI=None):
|
|||||||
start = perf_counter()
|
start = perf_counter()
|
||||||
try:
|
try:
|
||||||
for i in range(0, 200):
|
for i in range(0, 200):
|
||||||
for j in range(0, 10):
|
for j in range(0, 20):
|
||||||
for k in range (0, 10):
|
for k in range (0, 20):
|
||||||
path = f'C:\\Program Files\\WindowsApps\\KindlePreviewerApp_4.{i}.{j}.{k}_x64__ek06e0aw29nma'
|
path = f'C:\\Program Files\\WindowsApps\\KindlePreviewerApp_4.{i}.{j}.{k}_x64__ek06e0aw29nma'
|
||||||
if os.path.exists(path):
|
if os.path.exists(path):
|
||||||
kindlegen_path = os.path.join(path, 'KindlePreviewerApp\\resources\\KFXGen\\bin\\kindlegen.exe')
|
kindlegen_path = os.path.join(path, 'KindlePreviewerApp\\resources\\KFXGen\\bin\\kindlegen.exe')
|
||||||
|
|||||||
Reference in New Issue
Block a user