generated from nhcarrigan/template
457722dc3a
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
22 lines
576 B
JSON
22 lines
576 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"dialog:default",
|
|
"opener:default",
|
|
"shell:allow-spawn",
|
|
"shell:allow-stdin-write",
|
|
"shell:allow-kill",
|
|
"notification:default",
|
|
"notification:allow-is-permission-granted",
|
|
"notification:allow-request-permission",
|
|
"notification:allow-notify",
|
|
"clipboard-manager:default",
|
|
"clipboard-manager:allow-read-image",
|
|
"core:tray:default"
|
|
]
|
|
}
|