- Set frame: false to hide window border and title bar - Set titleBarStyle: 'hidden' for consistent behavior across platforms Files: main.js
@@ -17,8 +17,8 @@ function createWindow() {
const win = new BrowserWindow({
show: false,
- frame: !isMac,
- titleBarStyle: isMac ? 'hiddenInset' : 'default',
+ frame: false,
+ titleBarStyle: 'hidden',
webPreferences: {
nodeIntegration: false,
contextIsolation: true,