mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Add default help/window labels
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user