Add logic to hide main window when startMinimized
is true
This commit is contained in:
parent
8de39b3c50
commit
2693ed79fd
1 changed files with 1 additions and 0 deletions
|
@ -457,6 +457,7 @@ export async function createWindows() {
|
||||||
|
|
||||||
if (Settings.store.maximized && !isDeckGameMode) {
|
if (Settings.store.maximized && !isDeckGameMode) {
|
||||||
mainWin!.maximize();
|
mainWin!.maximize();
|
||||||
|
if (startMinimized) mainWin!.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isDeckGameMode) {
|
if (isDeckGameMode) {
|
||||||
|
|
Reference in a new issue