fix: OS servers log path

This commit is contained in:
Zichao Lin 2024-07-29 15:43:25 +08:00
parent 5164a17dca
commit 0e429a4762
Signed by: earthjasonlin
GPG Key ID: 406D9913DE2E42FB

View File

@ -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')