Add default help/window labels
This commit is contained in:
parent
566a407b36
commit
888068b597
2 changed files with 6 additions and 2 deletions
|
@ -103,7 +103,6 @@ app.once('ready', () => {
|
|||
]
|
||||
},
|
||||
{
|
||||
label: 'Window',
|
||||
role: 'window',
|
||||
submenu: [
|
||||
{
|
||||
|
@ -115,7 +114,6 @@ app.once('ready', () => {
|
|||
]
|
||||
},
|
||||
{
|
||||
label: 'Help',
|
||||
role: 'help',
|
||||
submenu: [
|
||||
{
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue