Add default help/window labels

This commit is contained in:
Kevin Sawicki 2016-06-22 10:47:25 -07:00
parent 566a407b36
commit 888068b597
2 changed files with 6 additions and 2 deletions

View file

@ -103,7 +103,6 @@ app.once('ready', () => {
]
},
{
label: 'Window',
role: 'window',
submenu: [
{
@ -115,7 +114,6 @@ app.once('ready', () => {
]
},
{
label: 'Help',
role: 'help',
submenu: [
{

View file

@ -61,6 +61,12 @@ const roles = {
label: 'Toggle Full Screen',
accelerator: process.platform === 'darwin' ? 'Ctrl+Command+F' : 'F11',
method: 'toggleFullScreen'
},
help: {
label: 'Help'
},
window: {
label: 'Window'
}
}