mirror of
https://github.com/MutableLoss/6502SimDesktop.git
synced 2024-12-28 03:29:25 +00:00
add easy6502 link
This commit is contained in:
parent
5da1c2e185
commit
0182655b2f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user