Skip to main content

Crate tauri_plugin_single_instance

Crate tauri_plugin_single_instance 

Source
Expand description

Ensure a single instance of your tauri app is running.

§Cargo features

  • semver: Allows the app with SemVer incompatible versions to run alongside each other.
  • deep-link: Trigger tauri-plugin-deep-link event before invoking the single-instance callback.

Structs§

Builder
Builds the single-instance plugin.

Functions§

destroy
Releases the resources this plugin uses to detect other instances (the named mutex on Windows, the D-Bus name on Linux or the Unix socket on macOS).
init
Initializes the plugin, calling f whenever a second instance of the app is started.