update XenoLib URL

This commit is contained in:
_Lighty_ 2019-12-21 21:17:01 +01:00
parent 3e91d0aa58
commit 0906d053a5
2 changed files with 2 additions and 2 deletions

View File

@ -1141,7 +1141,7 @@ var MentionAliasesRedux = (() => {
};
const downloadXenoLib = () => {
if (global.XenoLib) return onDone();
request('https://gitlab.com/_Lighty_/bdstuff/raw/master/public/XenoLib/1XenoLib.plugin.js', (error, response, body) => {
request('https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/1XenoLib.plugin.js', (error, response, body) => {
if (error) return onFail();
onDone();
fs.writeFile(path.join(window.ContentManager.pluginsFolder, '1XenoLib.plugin.js'), body, () => { });

View File

@ -828,7 +828,7 @@ var SaveToRedux = (() => {
};
const downloadXenoLib = () => {
if (global.XenoLib) return onDone();
request('https://gitlab.com/_Lighty_/bdstuff/raw/master/public/XenoLib/1XenoLib.plugin.js', (error, response, body) => {
request('https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/1XenoLib.plugin.js', (error, response, body) => {
if (error) return onFail();
onDone();
fs.writeFile(path.join(window.ContentManager.pluginsFolder, '1XenoLib.plugin.js'), body, () => { });