fix OOBE window bar config (#1057) (#1203)

This commit is contained in:
jeffvli 2025-10-22 00:08:04 -07:00
parent a9af1e91d4
commit 88cf5f3eb2

View file

@ -250,7 +250,7 @@ async function createWindow(first = true): Promise<void> {
await installExtensions().catch(console.log);
}
const nativeFrame = store.get('window_window_bar_style') === 'linux';
const nativeFrame = store.get('window_window_bar_style', 'linux') === 'linux';
store.set('window_has_frame', nativeFrame);
const nativeFrameConfig: Record<string, BrowserWindowConstructorOptions> = {