mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2024-11-25 22:50:22 +08:00
fix(getData): game path for test not removed
This commit is contained in:
parent
d99af2cc26
commit
3fac233471
@ -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$/, '')
|
||||
|
Loading…
x
Reference in New Issue
Block a user