]> khamidou — GitHub mirrors - electron.git/commitdiff
Add help menu to electron site
authorKevin Sawicki <kevinsawicki@gmail.com>
Fri, 24 Apr 2015 20:37:34 +0000 (13:37 -0700)
committerKevin Sawicki <kevinsawicki@gmail.com>
Mon, 27 Apr 2015 17:17:14 +0000 (10:17 -0700)
atom/browser/default_app/default_app.js

index 263f563ce52f0f710f6365059223c2a59263dfa5..e471b23ae6217166050633163b1ec003197fa55d 100644 (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') }