fixed app startup #862

This commit is contained in:
Jan Prochazka 2024-08-05 08:39:48 +02:00
parent 6ee8ca5f86
commit 1128fe6c8f

View File

@ -311,7 +311,9 @@ function createWindow() {
} }
let bounds = initialConfig['winBounds']; let bounds = initialConfig['winBounds'];
bounds = ensureBoundsVisible(bounds); if (bounds) {
bounds = ensureBoundsVisible(bounds);
}
useNativeMenu = settingsJson['app.useNativeMenu']; useNativeMenu = settingsJson['app.useNativeMenu'];
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({