diff --git a/src/main/tray.ts b/src/main/tray.ts index 47f641ad72340d6198d0629106b8d52c4e4e08d8..44a22d27bff4a9f1d647d5a2ec8688fd24085889 100644 --- a/src/main/tray.ts +++ b/src/main/tray.ts @@ -62,16 +62,6 @@ function buildTray(icon: string | NativeImage, menu: Menu, windowManager: Window function createTrayMenu(windowManager: WindowManager): Menu { return Menu.buildFromTemplate([ - { - label: "About Lens", - async click() { - // note: argument[1] (browserWindow) not available when app is not focused / hidden - const browserWindow = await windowManager.ensureMainWindow(); - - showAbout(browserWindow); - }, - }, - { type: "separator" }, { label: "Open Lens", async click() { @@ -124,6 +114,15 @@ function createTrayMenu(windowManager: WindowManager): Menu { } }, }, + { + label: "About Lens", + async click() { + // note: argument[1] (browserWindow) not available when app is not focused / hidden + const browserWindow = await windowManager.ensureMainWindow(); + + showAbout(browserWindow); + }, + }, { type: "separator" }, { label: "Quit App",