git ssb

10+

Matt McKegg / patchwork



Commit d3217fd3e814dd22253f9d80b79107146c15219f

Merge pull request #731 from lancew/master

Change "Learn More" to point to scuttlebutt.nz
Matt 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.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