Add more role defaults
This commit is contained in:
parent
888068b597
commit
c0562d16d5
2 changed files with 29 additions and 16 deletions
|
@ -67,6 +67,35 @@ const roles = {
|
|||
},
|
||||
window: {
|
||||
label: 'Window'
|
||||
},
|
||||
services: {
|
||||
label: 'Services'
|
||||
},
|
||||
zoom: {
|
||||
label: 'Zoom'
|
||||
},
|
||||
front: {
|
||||
label: 'Bring All to Front'
|
||||
},
|
||||
about: {
|
||||
get label () {
|
||||
const {app} = require('electron')
|
||||
return `About ${app.getName()}`
|
||||
}
|
||||
},
|
||||
hide: {
|
||||
get label () {
|
||||
const {app} = require('electron')
|
||||
return return `Hide ${app.getName()}`
|
||||
},
|
||||
accelerator: 'Command+H'
|
||||
},
|
||||
hideothers: {
|
||||
label: 'Hide Others',
|
||||
accelerator: 'Command+Alt+H'
|
||||
},
|
||||
unhide: {
|
||||
label: 'Show All'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue