diff --git a/app/main.js b/app/main.js index 8bc1f3f..ae6bbbc 100644 --- a/app/main.js +++ b/app/main.js @@ -281,6 +281,11 @@ app.on("web-contents-created", (event, contents) => { }); app.on("browser-window-created", (event, window) => { + if (getValue("autohide-menubar") === "true") { + window.setAutoHideMenuBar(true); + } else { + window.setAutoHideMenuBar(false); + } window.webContents.on("did-finish-load", () => { if (getValue("discordrpcstatus") === "true") { setActivity(`On "${window.webContents.getTitle()}"`);