Update src/main/mainWindow.ts
Co-authored-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
04715c4427
commit
bdc73dd621
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ export async function createWindows() {
|
||||||
|
|
||||||
mainWin.webContents.on("did-finish-load", () => {
|
mainWin.webContents.on("did-finish-load", () => {
|
||||||
splash.destroy();
|
splash.destroy();
|
||||||
!startMinimized && mainWin!.show();
|
if (!startMinimized) mainWin!.show();
|
||||||
|
|
||||||
if (Settings.store.maximized && !isDeckGameMode) {
|
if (Settings.store.maximized && !isDeckGameMode) {
|
||||||
mainWin!.maximize();
|
mainWin!.maximize();
|
||||||
|
|
Reference in a new issue