Skip to content

Commit 2787ac9

Browse files
committed
Restores native menubar on Windows
In-release regression caused by upgrade to Electron 13 (3bd43c7).
1 parent f7b5fcf commit 2787ac9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client/main-window/main-window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class MainWindow extends GenericWindow {
7070
minWidth: 1200,
7171
minHeight: 300,
7272
show: false, // Don't show the window until it is ready
73-
titleBarStyle: "hidden",
73+
titleBarStyle: process.platform === "darwin" ? "hidden" : "default",
7474
webPreferences: {
7575
webSecurity: false,
7676
allowRunningInsecureContent: false,

0 commit comments

Comments
 (0)