Add more role defaults

This commit is contained in:
Kevin Sawicki 2016-06-22 13:09:39 -07:00
parent 888068b597
commit c0562d16d5
2 changed files with 29 additions and 16 deletions

View file

@ -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'
}
}