diff --git a/desktop/main.js b/desktop/main.js index d5e2c66..5cfe943 100644 --- a/desktop/main.js +++ b/desktop/main.js @@ -29,10 +29,10 @@ app.win = null; app.on('ready', () => { - app.win = new BrowserWindow({width: 400, height: 420, minWidth: 400, minHeight: 420, backgroundColor:"#000", frame:false, autoHideMenuBar: true, icon: __dirname + '/icon.ico'}) - - app.win.loadURL(`file://${__dirname}/sources/index.html`); + app.win = new BrowserWindow({width: 400, height: 420, minWidth: 400, minHeight: 420, backgroundColor:"#000", frame:false, autoHideMenuBar: true, icon: __dirname + '/icon.ico',webPreferences: {zoomFactor: 1.0}}) + app.win.loadURL(`file://${__dirname}/sources/index.html`); + app.win.on('closed', () => { win = null app.quit() diff --git a/desktop/sources/index.html b/desktop/sources/index.html index a3e039c..632760f 100644 --- a/desktop/sources/index.html +++ b/desktop/sources/index.html @@ -21,6 +21,7 @@