add help menu

This commit is contained in:
Damillora 2017-07-04 00:16:49 +07:00
parent d60baa4da0
commit 88445acaee

14
menu.js
View File

@ -45,6 +45,20 @@ module.exports = function(win){
{role: 'minimize'}, {role: 'minimize'},
{role: 'close'} {role: 'close'}
] ]
},
{
label: 'Help',
role: 'help',
submenu: [
{
label: 'About SoundCleod',
click() {
prefman.showAbout();
},
visible: process.platform !== 'darwin'
}
]
} }
] ]