You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**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.
6
+
7
+
This will break the single-instance mechanism across different app versions if the app was installed multiple times.
8
+
9
+
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")`.
Copy file name to clipboardExpand all lines: plugins/single-instance/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,10 @@ fn main() {
59
59
60
60
Note that currently, plugins run in the order they were added in to the builder, so make sure that this plugin is registered first.
61
61
62
+
## Usage with Flatpak/Snap
63
+
64
+
If you use Flatpak/Snap to publish your package and your Tauri identifier doesn't match the package id, set the `DBUS_ID` variable using the builder for the plugin, look at example.
65
+
62
66
## Contributing
63
67
64
68
PRs accepted. Please make sure to read the Contributing Guide before making a pull request.
0 commit comments