summarylogtreecommitdiffstats
path: root/menu-bar.patch
blob: 702156bfc738b7a6f772fe6f7c797a48682f9cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/build/main.js b/build/main.js
index ff2a38b..823a767 100644
--- a/build/main.js
+++ b/build/main.js
@@ -3062,6 +3062,8 @@
             mainView.setAutoResize({ width: !0, height: !0 });
         } else this.appService.setWindow(this.window, void 0);
         this.appService.setUserAgent(),
+        this.window.setAutoHideMenuBar(true),
+        this.window.setMenuBarVisibility(false),
           isPlatform(PLATFORM.DARWIN)
             ? this.window.on("moved", () => {
                 this.windowState.save();