add easy6502 link

This commit is contained in:
Dennis Brown 2017-03-29 22:14:03 -05:00
parent 5da1c2e185
commit 0182655b2f

View File

@ -1,4 +1,5 @@
const { app } = require('electron')
const OSXtemplate = [
{
label: 'Application',
@ -32,7 +33,13 @@ const OSXtemplate = [
{ label: 'Toggle &Full Screen', accelerator: 'F11',
click() { mainWindow.setFullScreen(!mainWindow.isFullScreen()); } }
]
}
},
{
label: 'Help',
submenu: [
{ label: 'Easy 6502 Tutorial', click: function () { require('electron').shell.openExternal('http://electron.atom.io'); } }
]
},
]
const PCtemplate = [
@ -57,6 +64,7 @@ const PCtemplate = [
label: 'Help',
submenu: [
{ label: 'About 6502Desktop', selector: 'orderFrontStandardAboutPanel:' },
{ label: 'Easy 6502 Tutorial', click: function () { electronOpenLinkInBrowser('http://example.com'); } }
]
},
]