From 4f845f58a9e1138898b22eb7c389c8efaaf95447 Mon Sep 17 00:00:00 2001 From: Amelia Frost Date: Sun, 5 Apr 2026 21:55:23 -0700 Subject: [PATCH] Add our about window to the tray icon --- src/native/tray.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/native/tray.ts b/src/native/tray.ts index c156be4..79cfa87 100644 --- a/src/native/tray.ts +++ b/src/native/tray.ts @@ -4,6 +4,7 @@ import trayIconAsset from "../../avia_assets/icon.png?asset"; import macOsTrayIconAsset from "../../avia_assets/iconTemplate.png?asset"; import { aviaVersion, version } from "../../package.json"; +import { createAboutWindow } from "./about"; import { config } from "./config"; import { mainWindow, quitApp } from "./window"; @@ -62,6 +63,13 @@ export function updateTrayMenu() { }, ]), }, + { + label: "About", + type: "normal", + click() { + createAboutWindow(); + }, + }, { type: "separator" }, { label: mainWindow.isVisible() ? "Hide App" : "Show App",