Applying production bug fixes
This commit is contained in:
parent
396e6ed546
commit
6b5aadc492
5 changed files with 11 additions and 40 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue