Commit c549875364d3c94d316780d4b18d4b6c0f92e23a
Change "Learn More" to point to scuttlebutt.nz
As per discussion at: %w2qoAYcVvEX9z1hhvbra1ypCtRprWV8LclgudQAdn3k=.sha256 This commit changes the default "Learn More" from electron to: https://scuttlebutt.nz/ Fixes #729 on Github.Lance Wicks committed on 1/29/2018, 8:23:10 PM
Parent: da0a9b3e6b3ddd0df96ce9cedd40e2b545c2ecf4
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