mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-01-09 04:27:53 +08:00
Fix patched metadata checking
Issue: The function checked the wrong directory for global-metadata-patched.dat
This commit is contained in:
parent
d38459bb8a
commit
109f98db66
@ -72,7 +72,7 @@ export async function patchGame() {
|
||||
|
||||
// Do we have a patch already?
|
||||
const patchedExists = await invoke('dir_exists', {
|
||||
path: await getGameMetadataPath() + '\\global-metadata-patched.dat'
|
||||
path: await getBackupMetadataPath() + '\\global-metadata-patched.dat'
|
||||
})
|
||||
|
||||
if (!patchedExists) {
|
||||
@ -225,4 +225,4 @@ export async function restoreMetadata(manager: DownloadHandler) {
|
||||
await unpatchGame()
|
||||
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user