From 1b2d792d7b215f98e2cff324903e7b5741104200 Mon Sep 17 00:00:00 2001 From: Astra Date: Tue, 17 Apr 2018 23:14:54 -0400 Subject: [PATCH] Please --- stage2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stage2.js b/stage2.js index 5bd26b1..4951d0e 100644 --- a/stage2.js +++ b/stage2.js @@ -23,7 +23,7 @@ var data = electron.app.getPath('userData').replace(/\\\\/g, "/") + '/'; // shakily reimplemented of require() intended for loading plugins and EPAPI itself - function krequire(path) { + function __krequire(path) { return eval('(()=>{var exports={};' + fs.readFileSync(data + path, 'utf8').toString() + ';return exports})()'); } @@ -39,7 +39,7 @@ }); // load EPAPI - var epapi = krequire('epapi.js'); + var epapi = __krequire('epapi.js'); // call the entrypoint epapi.go('bootsyhax-dr1ft', 0, 1);