Add update option
This commit is contained in:
parent
9868f6644b
commit
124014a5b2
1 changed files with 8 additions and 0 deletions
|
@ -27,6 +27,14 @@ function initTray(win: BrowserWindow) {
|
||||||
label: "About",
|
label: "About",
|
||||||
click: createAboutWindow
|
click: createAboutWindow
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "Force Update Vencord",
|
||||||
|
async click() {
|
||||||
|
await downloadVencordFiles();
|
||||||
|
app.relaunch();
|
||||||
|
app.quit();
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "Relaunch",
|
label: "Relaunch",
|
||||||
click() {
|
click() {
|
||||||
|
|
Reference in a new issue