mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 07:34:36 +01:00
Merge pull request #38 from ffauzan/patch-2
Fix patched metadata checking
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user