mirror of
				https://github.com/earthjasonlin/zzz-signal-search-export.git
				synced 2025-11-04 14:10:10 +08:00 
			
		
		
		
	fix(getData): game path for test not removed
This commit is contained in:
		@@ -144,7 +144,7 @@ const readLog = async () => {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
      const gamePathMch = logText.match(/([A-Z]:\/.*?\/)(?=ZenlessZoneZero_Data)/i)
 | 
					      const gamePathMch = logText.match(/([A-Z]:\/.*?\/)(?=ZenlessZoneZero_Data)/i)
 | 
				
			||||||
      if (gamePathMch) {
 | 
					      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)
 | 
					        const urlMch = cacheText.match(/https.+?authkey=.+?end_id=/g)
 | 
				
			||||||
        if (urlMch) {
 | 
					        if (urlMch) {
 | 
				
			||||||
          cacheFolder = cacheFile.replace(/Cache_Data[/\\]data_2$/, '')
 | 
					          cacheFolder = cacheFile.replace(/Cache_Data[/\\]data_2$/, '')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user