Tray: Add more buttons (#2)
This commit is contained in:
parent
19c43289f6
commit
3da4c02129
1 changed files with 19 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue