Skip to content
Snippets Groups Projects
Commit 66a1c3a1 authored by DFN2's avatar DFN2
Browse files

changed default window dimensions

parent 49e99377
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
"windowBounds": { "windowBounds": {
"x": 0, "x": 0,
"y": 0, "y": 0,
"width": 1024, "width": 1250,
"height": 768 "height": 800
} }
}, },
"updateCheckAfter": 86400000, "//": "milliseconds" "updateCheckAfter": 86400000, "//": "milliseconds"
......
...@@ -64,6 +64,7 @@ function stopOcsManager() { ...@@ -64,6 +64,7 @@ function stopOcsManager() {
} }
function createWindow() { function createWindow() {
const appConfigStore = new ElectronStore({ const appConfigStore = new ElectronStore({
name: appConfigStoreStorage, name: appConfigStoreStorage,
defaults: appConfig.defaults defaults: appConfig.defaults
...@@ -74,10 +75,9 @@ function createWindow() { ...@@ -74,10 +75,9 @@ function createWindow() {
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
title: appPackage.productName, title: appPackage.productName,
icon: windowIcon, icon: windowIcon,
x: windowBounds.x, width: 1250,
y: windowBounds.y, height: 800,
width: windowBounds.width, center:true,
height: windowBounds.height,
webPreferences: { webPreferences: {
nodeIntegration: true nodeIntegration: true
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment