This commit is contained in:
Astra 2018-04-17 23:14:54 -04:00
parent f99df88b6a
commit 1b2d792d7b
1 changed files with 2 additions and 2 deletions

View File

@ -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);