ui-v2 cleanup (#2701)

This commit is contained in:
Zane
2025-05-28 14:33:02 -07:00
committed by GitHub
parent 132e0b7fca
commit b5884a448b
42 changed files with 1201 additions and 700 deletions

View File

@@ -27,7 +27,7 @@ async function createWindow() {
// Create the browser window with headless options when needed
const mainWindow = new BrowserWindow({
titleBarStyle: process.platform === 'darwin' ? 'hidden' : 'default',
trafficLightPosition: process.platform === 'darwin' ? { x: 16, y: 10 } : undefined,
...(process.platform === 'darwin' ? { trafficLightPosition: { x: 16, y: 10 } } : {}),
frame: false,
width: 1200,
height: 800,