mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2024-11-09 07:10:22 +08:00
fix: use Player.log instead of Player-prev (#18)
This commit is contained in:
parent
bbc52af184
commit
2fd8730cdd
@ -83,7 +83,7 @@ const detectGameLocale = async (userPath) => {
|
||||
const arr = ['/miHoYo/崩坏:星穹铁道/', '/Cognosphere/Star Rail/']
|
||||
arr.forEach(str => {
|
||||
try {
|
||||
const pathname = path.join(userPath, '/AppData/LocalLow/', str, 'Player-prev.log')
|
||||
const pathname = path.join(userPath, '/AppData/LocalLow/', str, 'Player.log')
|
||||
fs.accessSync(pathname, fs.constants.F_OK)
|
||||
list.push(pathname)
|
||||
} catch (e) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user