Notify on encryption change

This commit is contained in:
Thoronium
2023-03-09 16:30:54 -07:00
parent d56c6bc069
commit 8a62a5a8c7
2 changed files with 2 additions and 4 deletions

View File

@@ -1,11 +1,7 @@
import { invoke } from '@tauri-apps/api'
import { dataDir } from '@tauri-apps/api/path'
import { listen } from '@tauri-apps/api/event'
import DownloadHandler from './download'
import { getGameFolder } from './game'
const downloadHandler = new DownloadHandler()
export async function patchGame() {
// Do we have a patch already?
const patchedExists = await invoke('dir_exists', {