Applying production bug fixes

This commit is contained in:
Andrew Gundersen 2022-03-08 07:23:37 -06:00
commit 6b5aadc492
5 changed files with 11 additions and 40 deletions

View file

@ -30,8 +30,6 @@ function createWin()
{
if (win) return;
console.log(__dirname);
let pos = store.get("window-position");
if (!pos) pos = { width: 350, height: 750, x: null, y: null }
@ -45,7 +43,7 @@ function createWin()
minWidth: 350,
minHeight: 500,
backgroundColor: "#EBEBEB",
webPreferences: { preload: path.join(__dirname, "/render/preload.js") }
webPreferences: { preload: path.join(__dirname, "render/preload.js") }
})
// TODO: find a simpler way to notify platform of user events