From 70102b0f1a44a38f69ae598b1f82097a479d5b0c Mon Sep 17 00:00:00 2001 From: Tony <68118705+Legend-Master@users.noreply.github.com> Date: Tue, 1 Apr 2025 14:18:26 +0000 Subject: [PATCH] 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 --- src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.rs b/src/commands.rs index 2c27a3d..3777294 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -11,5 +11,5 @@ pub fn exit(app: AppHandle, code: i32) { #[tauri::command] pub fn restart(app: AppHandle) { - app.restart() + app.request_restart() }