hide menu on Linux and Windows

This commit is contained in:
Eugene Pankov 2018-09-20 13:01:25 +02:00
parent 6bc2d18f3c
commit 5fe71b8169

View file

@ -21,7 +21,9 @@ export class Application {
this.enableTray()
}
})
this.setupMenu()
if (process.platform === 'darwin') {
this.setupMenu()
}
await window.ready
return window
}