RegisterHook + e.Cancel() prevents Wails from destroying the WebView when the window is closed. The app now hides to the system tray. Left- click on the tray icon correctly restores the window.
RegisterHook + e.Cancel() prevents Wails from destroying the WebView when the window is closed. The app now hides to the system tray. Left- click on the tray icon correctly restores the window.