Commit d3217fd3e814dd22253f9d80b79107146c15219f
Merge pull request #731 from lancew/master
Change "Learn More" to point to scuttlebutt.nzMatt McKegg authored on 1/29/2018, 10:19:47 PM
GitHub committed on 1/29/2018, 10:19:47 PM
Parent: da0a9b3e6b3ddd0df96ce9cedd40e2b545c2ecf4
Parent: c549875364d3c94d316780d4b18d4b6c0f92e23a
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -34,8 +34,15 @@ | ||
34 | 34 | { role: 'zoomout' }, |
35 | 35 | { type: 'separator' }, |
36 | 36 | { role: 'togglefullscreen' } |
37 | 37 | ] |
38 | + var help = menu.find(x => x.label === 'Help') | |
39 | + help.submenu = [ | |
40 | + { | |
41 | + label: 'Learn More', | |
42 | + click () { require('electron').shell.openExternal('https://scuttlebutt.nz') } | |
43 | + } | |
44 | + ] | |
38 | 45 | if (process.platform === 'darwin') { |
39 | 46 | var win = menu.find(x => x.label === 'Window') |
40 | 47 | win.submenu = [ |
41 | 48 | { role: 'minimize' }, |
Built with git-ssb-web