refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-01-14 01:00:57 -08:00
parent 77b6706add
commit 29b75fd9b0

View File

@ -212,7 +212,7 @@ if (!gotTheLock) {
webPreferences: {
preload: path.join(__dirname, 'preload.js')
},
titleBarStyle: 'hidden',
titleBarStyle: process.platform === 'win32' ? 'default' : 'hidden',
trafficLightPosition: { x: 10, y: 10 },
// expose window controlls in Windows/Linux
...(process.platform !== 'darwin' ? { titleBarOverlay: true } : {})