diff --git a/index.html b/index.html new file mode 100644 index 0000000..609a2e3 --- /dev/null +++ b/index.html @@ -0,0 +1,5 @@ + + + + + diff --git a/main.js b/main.js index 730843e..18407de 100644 --- a/main.js +++ b/main.js @@ -111,11 +111,12 @@ app.on('ready', function() { // and load the index.html of the app. mainWindow.loadURL(default_url); // Open the DevTools. - //mainWindow.webContents.openDevTools(); + mainWindow.maximize() + mainWindow.webContents.openDevTools(); refresh.on('event', function(url) { console.log("got data", url) //console.log(mainWindow) - const options = {"extraHeaders" : "pragma: no-cache\n"} + const options = {} mainWindow.loadURL(url, options); }); // Emitted when the window is closed.