From 2a5b8aaea6aae1b35eaf970d7aaeba7475baa331 Mon Sep 17 00:00:00 2001 From: Astra Date: Tue, 17 Apr 2018 22:53:52 -0400 Subject: [PATCH] ACTUALLY expose the monitor --- app/index.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/index.htm b/app/index.htm index 4384042..647de0f 100644 --- a/app/index.htm +++ b/app/index.htm @@ -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) {