diff --git a/app/configs/application.json b/app/configs/application.json index ec068e5a8a5f1d712ba5aac7497e64409ed625cd..47abbd88916f087aed41f333e876ae91d31c5ddf 100644 --- a/app/configs/application.json +++ b/app/configs/application.json @@ -4,8 +4,8 @@ "windowBounds": { "x": 0, "y": 0, - "width": 1024, - "height": 768 + "width": 1250, + "height": 800 } }, "updateCheckAfter": 86400000, "//": "milliseconds" diff --git a/app/main.js b/app/main.js index 0d1c28d45d57e2e9686f4cf528e7277d5aa6bc43..22f7e2cc7bbcec466ae2046ed5f807580c57b8a9 100644 --- a/app/main.js +++ b/app/main.js @@ -64,6 +64,7 @@ function stopOcsManager() { } function createWindow() { + const appConfigStore = new ElectronStore({ name: appConfigStoreStorage, defaults: appConfig.defaults @@ -74,10 +75,9 @@ function createWindow() { mainWindow = new BrowserWindow({ title: appPackage.productName, icon: windowIcon, - x: windowBounds.x, - y: windowBounds.y, - width: windowBounds.width, - height: windowBounds.height, + width: 1250, + height: 800, + center:true, webPreferences: { nodeIntegration: true }