@tauri-apps/plugin-process - v2.3.0
    Preparing search index...

    Function relaunch

    • Exits the current instance of the app then relaunches it.

      Returns Promise<void>

      A promise indicating the success or failure of the operation.

      import { relaunch } from '@tauri-apps/plugin-process';
      await relaunch();

      2.0.0