chore(process): use request_restart (#2581)

This commit is contained in:
Tony
2025-04-01 22:17:23 +08:00
committed by GitHub
parent 02e886b21a
commit d2aef2fddb
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -11,5 +11,5 @@ pub fn exit<R: Runtime>(app: AppHandle<R>, code: i32) {
#[tauri::command]
pub fn restart<R: Runtime>(app: AppHandle<R>) {
app.restart()
app.request_restart()
}