Improve moving data system

This commit is contained in:
Lncvrt committed 2026-07-28 12:59:33 -07:00
1 parent 916e9bc08c
commit e9286c4b64
5 files changed
+26 -26

No files matched your search

-6
View File
@@ -635,11 +635,6 @@ async fn move_game_data(app: AppHandle, destination: String) -> Result<(), Strin
Ok(())
}
#[tauri::command]
fn restart_app(app: AppHandle) {
app.restart();
}
#[tauri::command]
fn open_game_folder(app: AppHandle, version: String) -> Result<(), String> {
let dir = data_dir(&app)?;
@@ -718,7 +713,6 @@ pub fn run() {
verify_signature,
cancel_download,
move_game_data,
restart_app,
open_game_folder,
remove_stale_executable
])