diff --git a/package.json b/package.json index 8216924..43611df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "star-rail-warp-export", - "version": "0.0.8", + "version": "0.0.9", "main": "./dist/electron/main/main.js", "author": "biuuu ", "license": "MIT", diff --git a/src/main/getData.js b/src/main/getData.js index 837e1e8..bd3ec1c 100644 --- a/src/main/getData.js +++ b/src/main/getData.js @@ -132,7 +132,7 @@ const readLog = async () => { } const promises = logPaths.map(async logpath => { const logText = await fs.readFile(logpath, 'utf8') - const gamePathMch = logText.match(/\w:\/.*?\/StarRail_Data\//) + const gamePathMch = logText.match(/\w:\/.*?\/StarRail_Data\//i) if (gamePathMch) { let cacheText = '' try {