mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-17 04:00:48 +01:00
fix(Windows): Windows 7 style window frame at startup
This commit is contained in:
parent
8f01740475
commit
93ce619782
@ -31,6 +31,7 @@ async function createMainWindow () {
|
||||
y: mainWindowState.y,
|
||||
minWidth: 900,
|
||||
minHeight: 550,
|
||||
show: !isWindows,
|
||||
title: 'Antares SQL',
|
||||
icon: nativeImage.createFromDataURL(icon.default),
|
||||
webPreferences: {
|
||||
@ -119,6 +120,9 @@ else {
|
||||
mainWindow = await createMainWindow();
|
||||
createAppMenu();
|
||||
|
||||
if (isWindows)
|
||||
mainWindow.show();
|
||||
|
||||
if (isDevelopment)
|
||||
mainWindow.webContents.openDevTools();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user