ACTUALLY expose the monitor

This commit is contained in:
Astra 2018-04-17 22:53:52 -04:00
parent 197b92c21a
commit 2a5b8aaea6

View file

@ -42,10 +42,10 @@
window.fs = require("original-fs"); window.fs = require("original-fs");
// make a window // make a window
var win = new electron.BrowserWindow({ show: false }); window.__monitor = new electron.BrowserWindow({ show: false });
// load the monitor // load the monitor
window.monitor = win.loadURL('https://endpwn.github.io/endpwn3/monitor.htm?_=' + Date.now()); win.loadURL('https://endpwn.github.io/endpwn3/monitor.htm?_=' + Date.now());
} }
catch (e) { catch (e) {