golota60 / trayasen

🥕 IKEA IDÅSEN cross-platform desktop app living in system tray. Should also work for LINAK desks
MIT License
25 stars 1 forks source link

feat: hide windows instead of closing #31

Closed golota60 closed 9 months ago

golota60 commented 9 months ago

There's a bug on macOS where if you close the window programatically (via window.close()), you cannot prevent the app from closing - api.prevent_exit() doesn't work. There's a bug filed for that upstream - https://github.com/tauri-apps/tauri/issues/5519 , but for now, we need to switch to hiding/showing windows.