ACTUALLY expose the monitor

This commit is contained in:
Astra 2018-04-17 22:53:52 -04:00
parent 197b92c21a
commit 2a5b8aaea6
1 changed files with 2 additions and 2 deletions

View File

@ -42,10 +42,10 @@
window.fs = require("original-fs");
// make a window
var win = new electron.BrowserWindow({ show: false });
window.__monitor = new electron.BrowserWindow({ show: false });
// 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) {