mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-14 08:04:52 +01:00
Fix patched metadata checking
Issue: The function checked the wrong directory for global-metadata-patched.dat
This commit is contained in:
@@ -72,7 +72,7 @@ export async function patchGame() {
|
|||||||
|
|
||||||
// Do we have a patch already?
|
// Do we have a patch already?
|
||||||
const patchedExists = await invoke('dir_exists', {
|
const patchedExists = await invoke('dir_exists', {
|
||||||
path: await getGameMetadataPath() + '\\global-metadata-patched.dat'
|
path: await getBackupMetadataPath() + '\\global-metadata-patched.dat'
|
||||||
})
|
})
|
||||||
|
|
||||||
if (!patchedExists) {
|
if (!patchedExists) {
|
||||||
|
|||||||
Reference in New Issue
Block a user