Tray: Add more buttons (#2)
This commit is contained in:
@@ -23,6 +23,25 @@ function initTray(win: BrowserWindow) {
|
|||||||
},
|
},
|
||||||
enabled: false
|
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",
|
label: "Quit Vencord Desktop",
|
||||||
click() {
|
click() {
|
||||||
|
|||||||
Reference in New Issue
Block a user