From 73cdba959b81ebf340180477ed03d4a2ee304ac3 Mon Sep 17 00:00:00 2001 From: Luna Seemann Date: Fri, 15 May 2026 02:48:29 +0200 Subject: [PATCH] feat(desktop): auto-hide menu bar on Linux and Windows (#27618) --- packages/desktop/src/main/windows.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/desktop/src/main/windows.ts b/packages/desktop/src/main/windows.ts index 41abfc784d..3150a5237b 100644 --- a/packages/desktop/src/main/windows.ts +++ b/packages/desktop/src/main/windows.ts @@ -84,6 +84,7 @@ export function createMainWindow() { width: state.width, height: state.height, show: false, + autoHideMenuBar: true, title: "OpenCode", icon: iconPath(), backgroundColor, @@ -142,6 +143,7 @@ export function createLoadingWindow() { resizable: false, center: true, show: true, + autoHideMenuBar: true, icon: iconPath(), backgroundColor, ...(process.platform === "darwin" ? { titleBarStyle: "hidden" as const } : {}),