Add logic to hide main window when startMinimized

is true
This commit is contained in:
Michal Vaniš 2023-12-09 09:16:47 +01:00
parent 8de39b3c50
commit 2693ed79fd

View file

@ -457,6 +457,7 @@ export async function createWindows() {
if (Settings.store.maximized && !isDeckGameMode) {
mainWin!.maximize();
if (startMinimized) mainWin!.hide();
}
if (isDeckGameMode) {