mirror of
https://github.com/MutableLoss/6502SimDesktop.git
synced 2024-11-22 13:33:23 +00:00
add easy6502 link
This commit is contained in:
parent
5da1c2e185
commit
0182655b2f
@ -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'); } }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user