Add help menu to electron site

This commit is contained in:
Kevin Sawicki 2015-04-24 13:37:34 -07:00
parent e3c21424de
commit f4a27f699a

View file

@ -148,6 +148,10 @@ app.on('ready', function() {
{
label: 'Help',
submenu: [
{
label: 'Learn More',
click: function() { require('shell').openExternal('http://electron.atom.io') }
},
{
label: 'Documentation',
click: function() { require('shell').openExternal('https://github.com/atom/electron/tree/master/docs#readme') }
@ -205,6 +209,10 @@ app.on('ready', function() {
{
label: 'Help',
submenu: [
{
label: 'Learn More',
click: function() { require('shell').openExternal('http://electron.atom.io') }
},
{
label: 'Documentation',
click: function() { require('shell').openExternal('https://github.com/atom/electron/tree/master/docs#readme') }