From 03ec4ea1714d395f57f7f8f4f758579357545916 Mon Sep 17 00:00:00 2001 From: Damillora Date: Tue, 4 Jul 2017 00:19:28 +0700 Subject: [PATCH] add project homepage menu in help --- menu.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/menu.js b/menu.js index 6a146d8..7f35c46 100644 --- a/menu.js +++ b/menu.js @@ -1,4 +1,4 @@ -const { app, Menu } = require('electron'); +const { app, Menu,shell } = require('electron'); const navi = require('./dock'); const prefman = require('./preferencemanager'); const ipc = require('electron').ipcMain; @@ -50,6 +50,10 @@ module.exports = function(win){ label: 'Help', role: 'help', submenu: [ + { + label: "Project Homepage", + click(){shell.openExternal("https://github.com/Damillora/MillionHopes")} + }, { label: 'About SoundCleod', click() {