mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
fixed app startup #862
This commit is contained in:
parent
6ee8ca5f86
commit
1128fe6c8f
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user