Exits the current instance of the app then relaunches it.
A promise indicating the success or failure of the operation.
import { relaunch } from '@tauri-apps/plugin-process';await relaunch(); Copy
import { relaunch } from '@tauri-apps/plugin-process';await relaunch();
2.0.0
Exits the current instance of the app then relaunches it.