server down handling

This commit is contained in:
2026-01-03 01:15:43 +08:00
parent ce2e0aca4f
commit 105254a817
7 changed files with 187 additions and 47 deletions

View File

@@ -335,7 +335,7 @@ fn quit_app() -> Result<(), String> {
}
#[tauri::command]
fn restart_app() -> Result<(), String> {
fn restart_app() {
let app_handle = get_app_handle();
app_handle.restart();
}