fix review comments

This commit is contained in:
Julen Garcia Leunda
2019-11-26 16:59:10 +01:00
parent 38390405dc
commit 2b8fa8b6fe
2 changed files with 5 additions and 4 deletions

View File

@@ -33,11 +33,12 @@ function init () {
win.loadURL(config.WINDOW_ABOUT)
// No menu on the About window
win.setMenu(null)
win.once('ready-to-show', function () {
win.show()
// No menu on the About window
// Hack: BrowserWindow removeMenu method not working on electron@7
// https://github.com/electron/electron/issues/21088
win.setMenuBarVisibility(false)
})
win.once('closed', function () {