mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2024-11-22 13:20:23 +08:00
fix: OS servers log path
This commit is contained in:
parent
5164a17dca
commit
0e429a4762
@ -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')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user