-
-
Notifications
You must be signed in to change notification settings - Fork 250
Description
Is your feature request related to a problem? Please describe.
Allow the Windows installer to automatically close a running Tauri app that is running in the tray menu.
Describe the solution you'd like
Tauri apps to be gracefully closed during the install process.
Describe alternatives you've considered
I am not sure there are alternatives.
Additional context
The Guidelines for Applications describe that a Windows application should listen to the above mentioned signals.
Currently, tao only listens to the WM_CLOSE message. It would be useful to also create an event for WM_ENDSESSION that allows applications to directly shutdown.
Specifically, for apps that minimise themselves to the tray menu, WM_CLOSE is typically surpressed because we don't want the application to exit when the window is closed.