mirror of
https://github.com/MutableLoss/6502SimDesktop.git
synced 2024-11-21 06:31:38 +00:00
fix Linux/Windows Menus
This commit is contained in:
parent
2c3ba3d21e
commit
93de55b17c
2
main.js
2
main.js
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user