Add tray context menu settings entry
This commit is contained in:
parent
1bb9b6c5bf
commit
fa25c53b43
1 changed files with 6 additions and 0 deletions
|
@ -115,6 +115,12 @@ function createTray() {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "Settings",
|
||||||
|
click: () => {
|
||||||
|
ipcMain.emit("show-settings");
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "Exit",
|
label: "Exit",
|
||||||
click: () => {
|
click: () => {
|
||||||
|
|
Reference in a new issue