From 4cf6a8972348cfd1488ae50445684f8e04b3dd48 Mon Sep 17 00:00:00 2001 From: Villian Date: Mon, 16 Oct 2023 22:07:11 -0300 Subject: [PATCH] added autoHideMenuBar: true, to remove the white bar on top of the windows. --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index b3c5d27..9d4528a 100644 --- a/main.js +++ b/main.js @@ -25,6 +25,7 @@ app.commandLine.appendSwitch("--enable-features", "Metal"); function createWindow() { win = new BrowserWindow({ + autoHideMenuBar: true, show: false, icon: __dirname + "/assets/images/icon.png", spellcheck: false,