From 124014a5b22e2eaa28c4efd935a3ed691eabeacd Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Wed, 5 Apr 2023 20:06:14 +0100 Subject: [PATCH] Add update option --- src/main/mainWindow.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index 1a5465e..a0586be 100644 --- a/src/main/mainWindow.ts +++ b/src/main/mainWindow.ts @@ -27,6 +27,14 @@ function initTray(win: BrowserWindow) { label: "About", click: createAboutWindow }, + { + label: "Force Update Vencord", + async click() { + await downloadVencordFiles(); + app.relaunch(); + app.quit(); + } + }, { label: "Relaunch", click() {