diff --git a/default_app/main.js b/default_app/main.js index 085708cb44d..45ff78e1b96 100644 --- a/default_app/main.js +++ b/default_app/main.js @@ -103,7 +103,6 @@ app.once('ready', () => { ] }, { - label: 'Window', role: 'window', submenu: [ { @@ -115,7 +114,6 @@ app.once('ready', () => { ] }, { - label: 'Help', role: 'help', submenu: [ { diff --git a/lib/browser/api/menu-item-roles.js b/lib/browser/api/menu-item-roles.js index f26e9c5a5a9..c78ff8aed81 100644 --- a/lib/browser/api/menu-item-roles.js +++ b/lib/browser/api/menu-item-roles.js @@ -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' } }