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',
|
role: 'window',
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
|
@ -115,7 +114,6 @@ app.once('ready', () => {
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Help',
|
|
||||||
role: 'help',
|
role: 'help',
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
|
|
|
@ -61,6 +61,12 @@ const roles = {
|
||||||
label: 'Toggle Full Screen',
|
label: 'Toggle Full Screen',
|
||||||
accelerator: process.platform === 'darwin' ? 'Ctrl+Command+F' : 'F11',
|
accelerator: process.platform === 'darwin' ? 'Ctrl+Command+F' : 'F11',
|
||||||
method: 'toggleFullScreen'
|
method: 'toggleFullScreen'
|
||||||
|
},
|
||||||
|
help: {
|
||||||
|
label: 'Help'
|
||||||
|
},
|
||||||
|
window: {
|
||||||
|
label: 'Window'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue