From 0e429a4762481f1849f78c4ee6936ee2e27752ce Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Mon, 29 Jul 2024 15:43:25 +0800 Subject: [PATCH] fix: OS servers log path --- 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 ff9ce5d..0416a56 100644 --- a/src/main/getData.js +++ b/src/main/getData.js @@ -114,7 +114,7 @@ const changeCurrent = async (uid) => { const detectGameLocale = async (userPath) => { let list = [] const lang = app.getLocale() - const arr = ['/miHoYo/绝区零/', '/Cognosphere/Zenless Zone Zero/'] + const arr = ['/miHoYo/绝区零/', '/miHoYo/ZenlessZoneZero/'] arr.forEach(str => { try { const pathname = path.join(userPath, '/AppData/LocalLow/', str, 'Player.log')