fix Linux/Windows Menus

This commit is contained in:
Dennis Brown 2017-05-07 22:39:10 -05:00
parent 2c3ba3d21e
commit 93de55b17c

View File

@ -19,7 +19,7 @@ function createWindow () {
if(process.platform === 'darwin') {
Menu.setApplicationMenu(Menu.buildFromTemplate(OSXtemplate))
} else if(process.platform !== 'darwin') {
BrowserWindow.setMenu(Menu.buildFromTemplate(PCtemplate))
mainWindow.setMenu(Menu.buildFromTemplate(PCtemplate))
}
mainWindow.on('closed', function () {