mirror of
https://github.com/EndPwnArchive/endpwn3.git
synced 2024-08-15 00:23:30 +00:00
Please
This commit is contained in:
parent
f99df88b6a
commit
1b2d792d7b
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
||||||
var data = electron.app.getPath('userData').replace(/\\\\/g, "/") + '/';
|
var data = electron.app.getPath('userData').replace(/\\\\/g, "/") + '/';
|
||||||
|
|
||||||
// shakily reimplemented of require() intended for loading plugins and EPAPI itself
|
// 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})()');
|
return eval('(()=>{var exports={};' + fs.readFileSync(data + path, 'utf8').toString() + ';return exports})()');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
// load EPAPI
|
// load EPAPI
|
||||||
var epapi = krequire('epapi.js');
|
var epapi = __krequire('epapi.js');
|
||||||
|
|
||||||
// call the entrypoint
|
// call the entrypoint
|
||||||
epapi.go('bootsyhax-dr1ft', 0, 1);
|
epapi.go('bootsyhax-dr1ft', 0, 1);
|
||||||
|
|
Loading…
Reference in a new issue