chore(process): use request_restart (#2581)

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/14198052029

Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
This commit is contained in:
Tony
2025-04-01 14:18:26 +00:00
committed by tauri-bot
parent 5e9294af8f
commit 70102b0f1a

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()
}