Skip to content

single-instance

Ensure a single instance of your app is running.

Sep 20, 2026
  • 67cd25a1 (#3592) On Windows, the second instance now allows the first instance to bring its window to the front before exiting, so focusing a window from the callback no longer gets refused by Windows.
Aug 31, 2026
Jul 13, 2026
  • d1573877 (#3466 by @bajoca05) Fix blocked thread on the single-instance plugin for MacOS: replace standard UnixListener with tokio::net::UnixListener, so the task can yield.
May 2, 2026
Apr 4, 2026
Feb 5, 2026
  • 98e2c11e (#3194 by @mrquantumoff) Breaking Change: On Linux, the DBus ID/name will now be <bundle-id>.SingleInstance instead of org.<bundle_id_underscores>.SingleInstance to follow DBus specifications.

    This will break the single-instance mechanism across different app versions if the app was installed multiple times.

    Added dbus_id builder method, which can be used to restore previous behavior. For a bundle identifier of com.tauri.my-example this would be dbus_id("org.com_tauri_my_example").

Jan 8, 2026
Oct 27, 2025
  • 93426f85 Fixed an issue that caused docs.rs builds to fail. No user facing changes.
Oct 26, 2025
Sep 2, 2025
Aug 21, 2025
Jul 22, 2025
Jul 20, 2025
  • 6f345870 (#2860 by @MorpheusXAUT) Fix D-Bus name replacement logic on Linux to prevent multiple instances from acquiring the same well-known name.
    This patch updates the zbus dependency to the latest compatible version (^5.9) and explicitly sets RequestNameFlags to ensure a second instance fails to acquire the D-Bus name when another one is already running.
Jun 25, 2025
May 20, 2025
  • dc84f8d8 (#2609 by @Simon-Laux) fix cwd in single instance on macOS, which was the cwd of the first instance, instead of the second (like it is on windows and linux)
Apr 2, 2025
Feb 24, 2025
Jan 13, 2025
Dec 9, 2024
  • 3a79266b (#2173 by @FabianLars) Bumped all plugins to v2.2.0. From now, the versions for the Rust and JavaScript packages of each plugin will be in sync with each other.
Dec 2, 2024
Oct 3, 2024
Oct 2, 2024
  • e2c4dfb6 Update to tauri v2 stable release.
Oct 2, 2024
Sep 15, 2024
Sep 12, 2024
Sep 10, 2024
Aug 29, 2024
Aug 2, 2024
Jul 31, 2024
Jul 12, 2024
Jul 2, 2024
May 30, 2024
May 30, 2024
May 1, 2024
Apr 18, 2024
  • ed46dca Added the semver feature flag to make the single instance mechanism only trigger for semver compatible versions.
Apr 2, 2024
Mar 21, 2024
  • a04ea2f(#1071) The global API script is now only added to the binary when the withGlobalTauri config is true.
Mar 7, 2024
Feb 23, 2024
  • 6d1e621(#981) Fix zbus::blocking::connection::Builder import.
Feb 21, 2024
Feb 3, 2024

single-instance full changelog


© 2026 Tauri Contributors. CC-BY / MIT