mirror of
https://github.com/MutableLoss/6502SimDesktop.git
synced 2026-04-20 14:16:28 +00:00
fix Linux/Windows Menus
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user