Replies: 1 comment
-
Sounds like you're looking for https://github.com/tauri-apps/plugins-workspace/tree/v1/plugins/single-instance. It will send an event to the primary instance that you can handle however you want (like showing and focusing the main window) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Lets say that the user has opened a Tauri app in a linux desktop and has closed the main app window, but the app is still running in the background, and a new window could be opened with the system tray icon. Later, the user forgets that the app is running in the background and attempts to launch the app again. How would I prevent the app from trying to launch a second instance and instead create a new window for the already running instance?
Beta Was this translation helpful? Give feedback.
All reactions