From 8b0d07001e038e24e7e305fe42909ea09ae34c65 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Fri, 12 Jul 2019 12:55:34 +0200 Subject: [PATCH] stuff --- Plugins/PluginRepo/PluginRepo.plugin.js | 6 +++--- Plugins/ThemeRepo/ThemeRepo.plugin.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Plugins/PluginRepo/PluginRepo.plugin.js b/Plugins/PluginRepo/PluginRepo.plugin.js index 64a4ccc805..b77709f610 100644 --- a/Plugins/PluginRepo/PluginRepo.plugin.js +++ b/Plugins/PluginRepo/PluginRepo.plugin.js @@ -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(); } diff --git a/Plugins/ThemeRepo/ThemeRepo.plugin.js b/Plugins/ThemeRepo/ThemeRepo.plugin.js index 0d8ef8e885..ebfed137d1 100644 --- a/Plugins/ThemeRepo/ThemeRepo.plugin.js +++ b/Plugins/ThemeRepo/ThemeRepo.plugin.js @@ -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(); }