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') {
|
module.exports = {
|
||||||
console.warn('$api is defined, but window.$api is not! assuming we are running under epapi6 and exporting an empty object...');
|
|
||||||
exports = {};
|
|
||||||
}
|
|
||||||
else
|
|
||||||
exports = {
|
|
||||||
|
|
||||||
manifest: {
|
manifest: {
|
||||||
replacements: [
|
replacements: [
|
||||||
|
|
||||||
|
@ -125,4 +119,4 @@ else
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,14 +16,7 @@
|
||||||
https://github.com/endpwn/
|
https://github.com/endpwn/
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
module.exports = {
|
||||||
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 = {
|
|
||||||
|
|
||||||
manifest: {
|
manifest: {
|
||||||
replacements: [
|
replacements: [
|
||||||
{
|
{
|
||||||
|
@ -305,4 +298,4 @@ else
|
||||||
$api.events.hook("USER_SETTINGS_MODAL_INIT", e => setTimeout(_ => renderSettings(e), 200));
|
$api.events.hook("USER_SETTINGS_MODAL_INIT", e => setTimeout(_ => renderSettings(e), 200));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,15 +28,8 @@ var internal = {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.$api === undefined && typeof $api != 'undefined') {
|
module.exports = {
|
||||||
console.warn('$api is defined, but window.$api is not! assuming we are running under epapi6 and exporting an empty object...');
|
|
||||||
exports = {};
|
|
||||||
}
|
|
||||||
else
|
|
||||||
exports = {
|
|
||||||
|
|
||||||
manifest: {
|
manifest: {
|
||||||
|
|
||||||
replacements: [
|
replacements: [
|
||||||
|
|
||||||
// changelog injection
|
// changelog injection
|
||||||
|
@ -55,7 +48,6 @@ else
|
||||||
},
|
},
|
||||||
|
|
||||||
preload: function () {
|
preload: function () {
|
||||||
|
|
||||||
window.reload = () => { app.relaunch(); app.exit(); };
|
window.reload = () => { app.relaunch(); app.exit(); };
|
||||||
window.endpwn = {
|
window.endpwn = {
|
||||||
|
|
||||||
|
@ -162,7 +154,6 @@ else
|
||||||
// check for epapi updates
|
// check for epapi updates
|
||||||
if ($api.lite || !fs.existsSync($api.data + '/DONTUPDATE'))
|
if ($api.lite || !fs.existsSync($api.data + '/DONTUPDATE'))
|
||||||
(function () {
|
(function () {
|
||||||
|
|
||||||
internal.print('checking for EPAPI updates...');
|
internal.print('checking for EPAPI updates...');
|
||||||
|
|
||||||
// fetch the latest build of epapi
|
// fetch the latest build of epapi
|
||||||
|
@ -202,7 +193,5 @@ else
|
||||||
});
|
});
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue