From 9ee7598375dd24d36aa6901404e12994e5ce75f1 Mon Sep 17 00:00:00 2001 From: TC Date: Fri, 13 Nov 2020 22:16:11 +0100 Subject: [PATCH] Auto-hide menu bar --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index f40fc1e7..17f1cd3f 100644 --- a/index.js +++ b/index.js @@ -80,6 +80,7 @@ function createMainWindow() { }, frame: !is.macOS(), titleBarStyle: is.macOS() ? "hiddenInset" : "default", + autoHideMenuBar: true, }); if (windowMaximized) { win.maximize();