devtools comment

This commit is contained in:
Dennis Brown 2017-03-29 18:49:51 -05:00
parent c38296505e
commit 5cccee9fa1

View File

@ -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()
}
})
})