Browse Source

Enable menu only on mac

master
meriadec 7 years ago
parent
commit
3bc3533cba
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 6
      src/main/app.js

6
src/main/app.js

@ -178,7 +178,11 @@ app.on('ready', async () => {
await installExtensions()
}
Menu.setApplicationMenu(menu)
if (process.platform === 'darwin') {
Menu.setApplicationMenu(menu)
} else {
Menu.setApplicationMenu(null)
}
preloadWindow = createPreloadWindow()
})

Loading…
Cancel
Save