From 93688dc2b4b01907f1dabccf290c138b1810d15f Mon Sep 17 00:00:00 2001 From: Airradda <3744856+Airradda@users.noreply.github.com> Date: Sun, 21 Jun 2020 04:16:03 -0500 Subject: [PATCH] Enable "autoHideMenuBar" on electron window --- src/main/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/index.js b/src/main/index.js index aae38455..c74537f5 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -63,6 +63,7 @@ function createWindow () { backgroundColor: '#fff', width: 960, height: 540, + autoHideMenuBar: true, // useContentSize: true, webPreferences: { nodeIntegration: true,