remove epapi6 bs
This commit is contained in:
parent
7ebafb218c
commit
fab5d4682c
|
@ -25,13 +25,7 @@ var internal = {
|
|||
|
||||
}
|
||||
|
||||
if (window.$api === undefined && typeof $api != 'undefined') {
|
||||
console.warn('$api is defined, but window.$api is not! assuming we are running under epapi6 and exporting an empty object...');
|
||||
exports = {};
|
||||
}
|
||||
else
|
||||
exports = {
|
||||
|
||||
module.exports = {
|
||||
manifest: {
|
||||
replacements: [
|
||||
|
||||
|
|
|
@ -16,14 +16,7 @@
|
|||
https://github.com/endpwn/
|
||||
|
||||
*/
|
||||
|
||||
if (window.$api === undefined && typeof $api != 'undefined') {
|
||||
console.warn('$api is defined, but window.$api is not! assuming we are running under epapi6 and exporting an empty object...');
|
||||
exports = {};
|
||||
}
|
||||
else
|
||||
exports = {
|
||||
|
||||
module.exports = {
|
||||
manifest: {
|
||||
replacements: [
|
||||
{
|
||||
|
|
|
@ -28,15 +28,8 @@ var internal = {
|
|||
|
||||
}
|
||||
|
||||
if (window.$api === undefined && typeof $api != 'undefined') {
|
||||
console.warn('$api is defined, but window.$api is not! assuming we are running under epapi6 and exporting an empty object...');
|
||||
exports = {};
|
||||
}
|
||||
else
|
||||
exports = {
|
||||
|
||||
module.exports = {
|
||||
manifest: {
|
||||
|
||||
replacements: [
|
||||
|
||||
// changelog injection
|
||||
|
@ -55,7 +48,6 @@ else
|
|||
},
|
||||
|
||||
preload: function () {
|
||||
|
||||
window.reload = () => { app.relaunch(); app.exit(); };
|
||||
window.endpwn = {
|
||||
|
||||
|
@ -162,7 +154,6 @@ else
|
|||
// check for epapi updates
|
||||
if ($api.lite || !fs.existsSync($api.data + '/DONTUPDATE'))
|
||||
(function () {
|
||||
|
||||
internal.print('checking for EPAPI updates...');
|
||||
|
||||
// fetch the latest build of epapi
|
||||
|
@ -202,7 +193,5 @@ else
|
|||
});
|
||||
|
||||
})();
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue