git ssb

10+

Matt McKegg / patchwork



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.jschanged
index.jsView
@@ -34,8 +34,15 @@
3434 { role: 'zoomout' },
3535 { type: 'separator' },
3636 { role: 'togglefullscreen' }
3737 ]
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+ ]
3845 if (process.platform === 'darwin') {
3946 var win = menu.find(x => x.label === 'Window')
4047 win.submenu = [
4148 { role: 'minimize' },

Built with git-ssb-web