This commit is contained in:
Mirco Wittrien 2019-07-12 12:55:34 +02:00
parent ea7e6338b6
commit 8b0d07001e
2 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@
class PluginRepo {
getName () {return "PluginRepo";}
getVersion () {return "1.8.1";}
getVersion () {return "1.8.2";}
getAuthor () {return "DevilBro";}
@ -11,7 +11,7 @@ class PluginRepo {
initConstructor () {
this.changelog = {
"fixed":[["Canary/PTB","Fixed the plugin for canary and ptb"]]
"fixed":[["Refetch","Fixed refetching occuring every x hours"]]
};
this.patchModules = {
@ -866,7 +866,7 @@ class PluginRepo {
checkForNewPlugins () {
require("request")("https://mwittrien.github.io/BetterDiscordAddons/Plugins/PluginRepo/res/PluginList.txt", (error, response, result) => {
if (response && !BDFDB.equals(result.replace(/\t|\r/g, "").split("\n"), this.grabbedPlugins)) {
if (response && !BDFDB.equals(result.replace(/\t|\r/g, "").split("\n").filter(n => n), this.grabbedPlugins)) {
this.loading = {is:false, timeout:null, amount:0};
this.loadPlugins();
}

View File

@ -3,7 +3,7 @@
class ThemeRepo {
getName () {return "ThemeRepo";}
getVersion () {return "1.8.3";}
getVersion () {return "1.8.4";}
getAuthor () {return "DevilBro";}
@ -11,7 +11,7 @@ class ThemeRepo {
initConstructor () {
this.changelog = {
"fixed":[["New META syntax","Fixed the fetching for the new META syntax used by BD"]]
"fixed":[["Refetch","Fixed refetching occuring every x hours"]]
};
this.patchModules = {
@ -891,7 +891,7 @@ class ThemeRepo {
checkForNewThemes () {
require("request")("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/ThemeList.txt", (error, response, result) => {
if (response && !BDFDB.equals(result.replace(/\t|\r/g, "").split("\n"), this.grabbedThemes)) {
if (response && !BDFDB.equals(result.replace(/\t|\r/g, "").split("\n").filter(n => n), this.grabbedThemes)) {
this.loading = {is:false, timeout:null, amount:0};
this.loadThemes();
}