From: Kevin Sawicki Date: Fri, 24 Apr 2015 20:37:34 +0000 (-0700) Subject: Add help menu to electron site X-Git-Tag: v0.25.2~15^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=f4a27f699a4a50268c8469b0d27198b4764c876b;p=electron.git Add help menu to electron site --- diff --git a/atom/browser/default_app/default_app.js b/atom/browser/default_app/default_app.js index 263f563c..e471b23a 100644 --- a/atom/browser/default_app/default_app.js +++ b/atom/browser/default_app/default_app.js @@ -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') }