mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-17 04:12:25 +00:00
feat(desktop): auto-hide menu bar on Linux and Windows (#27618)
This commit is contained in:
parent
4e7a60dac6
commit
73cdba959b
1 changed files with 2 additions and 0 deletions
|
|
@ -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 } : {}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue