add project homepage menu in help
This commit is contained in:
parent
88445acaee
commit
03ec4ea171
6
menu.js
6
menu.js
@ -1,4 +1,4 @@
|
|||||||
const { app, Menu } = require('electron');
|
const { app, Menu,shell } = require('electron');
|
||||||
const navi = require('./dock');
|
const navi = require('./dock');
|
||||||
const prefman = require('./preferencemanager');
|
const prefman = require('./preferencemanager');
|
||||||
const ipc = require('electron').ipcMain;
|
const ipc = require('electron').ipcMain;
|
||||||
@ -50,6 +50,10 @@ module.exports = function(win){
|
|||||||
label: 'Help',
|
label: 'Help',
|
||||||
role: 'help',
|
role: 'help',
|
||||||
submenu: [
|
submenu: [
|
||||||
|
{
|
||||||
|
label: "Project Homepage",
|
||||||
|
click(){shell.openExternal("https://github.com/Damillora/MillionHopes")}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'About SoundCleod',
|
label: 'About SoundCleod',
|
||||||
click() {
|
click() {
|
||||||
|
Reference in New Issue
Block a user