add easy6502 link

This commit is contained in:
Dennis Brown 2017-03-29 22:14:03 -05:00
parent 5da1c2e185
commit 0182655b2f
1 changed files with 10 additions and 2 deletions

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,9 +64,10 @@ const PCtemplate = [
label: 'Help',
submenu: [
{ label: 'About 6502Desktop', selector: 'orderFrontStandardAboutPanel:' },
{ label: 'Easy 6502 Tutorial', click: function () { electronOpenLinkInBrowser('http://example.com'); } }
]
},
]
module.exports.OSXtemplate = OSXtemplate;
module.exports.PCtemplate = PCtemplate;
module.exports.PCtemplate = PCtemplate;