Fix patched metadata checking

Issue: The function checked the wrong directory for global-metadata-patched.dat
This commit is contained in:
ffauzan 2022-07-19 16:41:25 +07:00 committed by GitHub
parent d38459bb8a
commit 109f98db66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}