From 3da4c02129bc4c74eb3a8c58e1b03576f71cfed6 Mon Sep 17 00:00:00 2001 From: Toad Date: Wed, 5 Apr 2023 23:08:28 +0100 Subject: [PATCH] Tray: Add more buttons (#2) --- src/main/mainWindow.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index 9077db7..9f61e21 100644 --- a/src/main/mainWindow.ts +++ b/src/main/mainWindow.ts @@ -23,6 +23,25 @@ function initTray(win: BrowserWindow) { }, enabled: false }, + { + label: "About", + click: createAboutWindow + }, + { + label: "Update Vencord", + async click() { + await downloadVencordFiles(); + app.relaunch(); + app.quit(); + } + }, + { + label: "Relaunch", + click() { + app.relaunch(); + app.quit(); + } + }, { label: "Quit Vencord Desktop", click() {