fix: OS servers log path

This commit is contained in:
earthjasonlin committed 2024-07-29 15:43:25 +08:00 Verified
1 parent 5164a17dca
commit 0e429a4762
1 file changed
+1 -1
+1 -1
View File
@@ -114,7 +114,7 @@ const changeCurrent = async (uid) => {
const detectGameLocale = async (userPath) => { const detectGameLocale = async (userPath) => {
let list = [] let list = []
const lang = app.getLocale() const lang = app.getLocale()
const arr = ['/miHoYo/绝区零/', '/Cognosphere/Zenless Zone Zero/'] const arr = ['/miHoYo/绝区零/', '/miHoYo/ZenlessZoneZero/']
arr.forEach(str => { arr.forEach(str => {
try { try {
const pathname = path.join(userPath, '/AppData/LocalLow/', str, 'Player.log') const pathname = path.join(userPath, '/AppData/LocalLow/', str, 'Player.log')
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.