diff --git a/src/native/tray.ts b/src/native/tray.ts index 1ac66f7..e1df6e3 100644 --- a/src/native/tray.ts +++ b/src/native/tray.ts @@ -1,4 +1,4 @@ -import { Menu, Tray, nativeImage } from "electron"; +import { Menu, Tray, nativeImage, app } from "electron"; import trayIconAsset from "../../avia_assets/icon.png?asset"; import macOsTrayIconAsset from "../../avia_assets/iconTemplate.png?asset"; @@ -64,6 +64,14 @@ export function updateTrayMenu() { } }, }, + { + label: "Restart App", + type: "normal", + click() { + app.relaunch(); + app.quit(0); + }, + }, { label: "Quit App", type: "normal",