Is your feature request related to a problem? Please describe.
I am building an app that should "live" in the system tray. The app window can be closed and later reopened by clicking on the tray icon. However, when the last window of the app closes, Tauri exits.
Describe the solution you'd like
I would like an option to keep the app running after all windows are closed, so that I can create a new window when the user clicks on the tray icon.
Describe alternatives you've considered
Hiding the window instead of closing it will keep the app active, so this is a possible workaround. But this means that the window still exists in memory and still uses resources while that isn't necessary.
Is your feature request related to a problem? Please describe.
I am building an app that should "live" in the system tray. The app window can be closed and later reopened by clicking on the tray icon. However, when the last window of the app closes, Tauri exits.
Describe the solution you'd like
I would like an option to keep the app running after all windows are closed, so that I can create a new window when the user clicks on the tray icon.
Describe alternatives you've considered
Hiding the window instead of closing it will keep the app active, so this is a possible workaround. But this means that the window still exists in memory and still uses resources while that isn't necessary.