Add access to settings through tray menu

This commit is contained in:
Thomas de Saint-Exupéry
2016-08-23 15:25:58 +02:00
parent 0878e45dcd
commit fd80b758ed
3 changed files with 10 additions and 0 deletions

View File

@@ -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'
}