pub fn restart(app: &AppHandle)Expand description
Restart the application process. Used by UpdaterPrompt after the
Ready state — window.location.reload() only reloaded the WebView
in the SAME binary so the freshly-installed update never took
effect. AppHandle::restart() exits and re-execs the staged binary.