diff --git a/src/main/windows/about.js b/src/main/windows/about.js index 1e6d6dc5..52c3a1c3 100644 --- a/src/main/windows/about.js +++ b/src/main/windows/about.js @@ -15,7 +15,7 @@ function init () { backgroundColor: '#ECECEC', center: true, fullscreen: false, - height: 170, + height: 250, icon: getIconPath(), maximizable: false, minimizable: false, @@ -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 () { diff --git a/static/about.html b/static/about.html index f7976bdd..6433ae9c 100644 --- a/static/about.html +++ b/static/about.html @@ -34,6 +34,6 @@ () ()

-

+