feat: add minimize to system tray option

Add ability to minimize Hikari to the system tray when closing the window
instead of fully exiting. When enabled, clicking the close button hides
the window and shows a tray icon with "Show Hikari" and "Quit" options.

- Add tray module with system tray setup and menu handling
- Add minimize_to_tray config option in settings
- Handle window close event to hide instead of close when enabled
- Add tray icon click handler to restore window
This commit is contained in:
2026-01-25 13:38:30 -08:00
committed by Naomi Carrigan
parent 852a4d6661
commit 457722dc3a
10 changed files with 127 additions and 2 deletions
+1
View File
@@ -49,6 +49,7 @@
update_checks_enabled: true,
character_panel_width: null,
font_size: 14,
minimize_to_tray: false,
});
onMount(async () => {