mirror of
https://github.com/MutableLoss/6502SimDesktop.git
synced 2024-11-25 03:34:41 +00:00
devtools comment
This commit is contained in:
parent
c38296505e
commit
5cccee9fa1
5
main.js
5
main.js
@ -14,9 +14,10 @@ function createWindow () {
|
||||
protocol: 'file:',
|
||||
slashes: true
|
||||
}))
|
||||
// mainWindow.webContents.openDevTools()
|
||||
|
||||
if(process.platform === 'darwin') {
|
||||
Menu.setApplicationMenu(Menu.buildFromTemplate(OSXtemplate));
|
||||
Menu.setApplicationMenu(Menu.buildFromTemplate(OSXtemplate))
|
||||
} else if(process.platform !== 'darwin') {
|
||||
BrowserWindow.setMenu(Menu.buildFromTemplate(PCtemplate))
|
||||
}
|
||||
@ -38,4 +39,4 @@ app.on('activate', function () {
|
||||
if (mainWindow === null) {
|
||||
createWindow()
|
||||
}
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user