diff --git a/main.js b/main.js index 68c34b9..fc0afde 100644 --- a/main.js +++ b/main.js @@ -13,8 +13,7 @@ const {app, BrowserWindow} = require('electron') win = new BrowserWindow({width: 800, height: 600, frame: false}) win.loadFile('index.html') - - + // Loads file/url depending on choice win.on('closed', () => { win = null }) @@ -32,4 +31,4 @@ const {app, BrowserWindow} = require('electron') if (win === null) { createWindow() } - }) \ No newline at end of file + })