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