From 88445acaeebbf60a8464cecadf69eb953e59040f Mon Sep 17 00:00:00 2001 From: Damillora Date: Tue, 4 Jul 2017 00:16:49 +0700 Subject: [PATCH] add help menu --- menu.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/menu.js b/menu.js index 2b212c5..6a146d8 100644 --- a/menu.js +++ b/menu.js @@ -45,6 +45,20 @@ module.exports = function(win){ {role: 'minimize'}, {role: 'close'} ] + }, + { + label: 'Help', + role: 'help', + submenu: [ + { + label: 'About SoundCleod', + click() { + prefman.showAbout(); + }, + visible: process.platform !== 'darwin' + } + + ] } ]