Add help menu to electron site
This commit is contained in:
parent
e3c21424de
commit
f4a27f699a
1 changed files with 8 additions and 0 deletions
|
@ -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') }
|
||||
|
|
Loading…
Add table
Reference in a new issue