update Xray Core on Windows

This commit is contained in:
心隨緣動 2025-09-11 21:25:12 +08:00 committed by GitHub
parent 9f15e210e8
commit 6dd9b4b07c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,7 +95,7 @@ func GetLogFolder() string {
return logFolderPath return logFolderPath
} }
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
return getBaseDir() return filepath.Join(".", "log")
} }
return "/var/log" return "/var/log"
} }