Files
donutbrowser/src-tauri
Huy Le Tien fdecf445ec feat: confirm minimize-to-tray or quit when closing the window
Intercept the main window CloseRequested event so the user can choose
between minimizing the app to the system tray and quitting, instead of
the close button immediately tearing the process down.

- Add an on_window_event handler that prevents close, emits
  close-confirm-requested, and lets the next CloseRequested through
  once confirm_quit flips a QUIT_CONFIRMED flag.
- Add a TrayIconBuilder in the main process with Show / Quit menu items
  and a left-click handler that restores the window. Tray icon is
  decoded via the image crate so the donut glyph renders on every
  platform.
- Add hide_to_tray command used by the dialog's Minimize action.
- New CloseConfirmDialog React component mounted in app/page.tsx.
- Enable Tauri features tray-icon and image-png.
- Add closeConfirm strings across all eight locale files.

The existing standalone donut-daemon tray binary is left untouched.
2026-05-29 00:10:48 +07:00
..
2025-11-29 12:29:07 +04:00
2025-05-29 10:17:16 +04:00
2026-05-11 23:13:03 +04:00
2026-03-15 20:06:40 +04:00
2025-05-29 10:17:16 +04:00
2025-05-29 10:17:16 +04:00
2026-02-15 11:48:59 +04:00
2026-02-15 11:48:59 +04:00
2026-02-15 11:48:59 +04:00
2026-02-15 11:48:59 +04:00
2025-08-12 19:05:04 +04:00
2026-02-17 23:15:06 +04:00
2026-05-26 04:42:31 +04:00