add project homepage menu in help

This commit is contained in:
Damillora 2017-07-04 00:19:28 +07:00
parent 88445acaee
commit 03ec4ea171

View File

@ -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() {