Add access to settings through tray menu
This commit is contained in:
@@ -28,6 +28,14 @@ function createTemplate(mainWindow, config) {
|
||||
};
|
||||
}), {
|
||||
type: 'separator'
|
||||
}, {
|
||||
label: 'Settings',
|
||||
click: () => {
|
||||
mainWindow.loadURL('file://' + __dirname + '/browser/settings.html');
|
||||
mainWindow.show();
|
||||
}
|
||||
}, {
|
||||
type: 'separator'
|
||||
}, {
|
||||
role: 'quit'
|
||||
}
|
||||
|
Reference in New Issue
Block a user