source/lib/VBMenu.js
// macOS has some very specific menu items

macOS has some very specific menu items
macOS has some very specific menu items
function darwinMenu() {
      const name = app.getName()
      return {
        label: name,
        submenu: [{
            label: 'About ' + name,
            role: 'about'
          },{
            type: 'separator'
          },{
            label: 'Services',
            role: 'services',
            submenu: []
          },{
            type: 'separator'
          },{
            label: 'Hide ' + name,
            accelerator: 'Command+H',
            role: 'hide'
          },{
            label: 'Hide Others',
            accelerator: 'Command+Alt+H',
            role: 'hideothers'
          },{
            label: 'Show All',
            role: 'unhide'
          },{
            type: 'separator'
          },{
            label: 'Quit ' + name,
            accelerator: 'Command+Q',
            click(menuItem, browserWindow, event) {
              app.quit()
            }
          }
        ]
      }
    }
function darwinMenu ( ) { const name = app . getName ( ) return { label : name , submenu : [ { label : 'About ' + name , role : 'about' } , { type : 'separator' } , { label : 'Services' , role : 'services' , submenu : [ ] } , { type : 'separator' } , { label : 'Hide ' + name , accelerator : 'Command+H' , role : 'hide' } , { label : 'Hide Others' , accelerator : 'Command+Alt+H' , role : 'hideothers' } , { label : 'Show All' , role : 'unhide' } , { type : 'separator' } , { label : 'Quit ' + name , accelerator : 'Command+Q' , click ( menuItem , browserWindow , event ) { app . quit ( ) } } ] } }
macOS has some very specific menu items
macOS has some very specific menu items