fix: electron window on windows (#3480)
This commit is contained in:
parent
e572feff91
commit
7d12de1c4a
@ -6,9 +6,10 @@ export const mainWindowConfig: Electron.BrowserWindowConstructorOptions = {
|
|||||||
minWidth: DEFAULT_MIN_WIDTH,
|
minWidth: DEFAULT_MIN_WIDTH,
|
||||||
minHeight: DEFAULT_MIN_HEIGHT,
|
minHeight: DEFAULT_MIN_HEIGHT,
|
||||||
show: true,
|
show: true,
|
||||||
transparent: true,
|
// we want to go frameless on windows and linux
|
||||||
frame: false,
|
transparent: process.platform === 'darwin',
|
||||||
titleBarStyle: 'hidden',
|
frame: process.platform === 'darwin',
|
||||||
|
titleBarStyle: 'hiddenInset',
|
||||||
vibrancy: 'fullscreen-ui',
|
vibrancy: 'fullscreen-ui',
|
||||||
visualEffectState: 'active',
|
visualEffectState: 'active',
|
||||||
backgroundMaterial: 'acrylic',
|
backgroundMaterial: 'acrylic',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user