tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
85.38k stars 2.58k forks source link

fix(windows): #1692 The restart api does not work in single-instance mode #11683

Closed muwoo closed 1 week ago

muwoo commented 1 week ago

Single instance mode should not cause restarted applications to exit.

We can add an additional restart_from_tauri_api parameter to tauri::api::process::restart to tell single-instance that this startup should not be blocked.

link single-instance plugin changes: #