mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-14 08:04:52 +01:00
11 lines
300 B
TypeScript
11 lines
300 B
TypeScript
import { invoke } from '@tauri-apps/api'
|
|
// Patch file from: https://github.com/34736384/RSAPatch/
|
|
|
|
export async function patchGame(newerGame: boolean, version: string) {
|
|
return invoke('patch_game', { newerGame, version })
|
|
}
|
|
|
|
export async function unpatchGame() {
|
|
return invoke('unpatch_game')
|
|
}
|