Update mainWindow.ts

This commit is contained in:
V 2024-01-07 03:09:11 +01:00 committed by GitHub
parent a391dd6264
commit 7e0637cad6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -459,6 +459,9 @@ export async function createWindows() {
splash.destroy();
if (!startMinimized) mainWin!.show();
else if (State.store.maximized && !isDeckGameMode) {
mainWin!.maximize();
}
if (isDeckGameMode) {
// always use entire display