From 3fac233471bf6273389bc7e16c1e8452c1353f92 Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Sun, 21 Jul 2024 13:26:29 +0800 Subject: [PATCH] fix(getData): game path for test not removed --- src/main/getData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/getData.js b/src/main/getData.js index 0605f35..5470fc0 100644 --- a/src/main/getData.js +++ b/src/main/getData.js @@ -144,7 +144,7 @@ const readLog = async () => { } const gamePathMch = logText.match(/([A-Z]:\/.*?\/)(?=ZenlessZoneZero_Data)/i) if (gamePathMch) { - const[cacheText, cacheFile] = await getCacheText("F:/zzz_game/ZenlessZoneZero_Data") /* getCacheText(gamePathMch[0]+"/ZenlessZoneZero_Data") */ + const[cacheText, cacheFile] = await getCacheText(gamePathMch[0]+"/ZenlessZoneZero_Data") const urlMch = cacheText.match(/https.+?authkey=.+?end_id=/g) if (urlMch) { cacheFolder = cacheFile.replace(/Cache_Data[/\\]data_2$/, '')