mirror of
https://github.com/EndPwnArchive/endpwn3.git
synced 2024-08-15 00:23:30 +00:00
ACTUALLY expose the monitor
This commit is contained in:
parent
197b92c21a
commit
2a5b8aaea6
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue