update XenoLib URL
This commit is contained in:
parent
3e91d0aa58
commit
0906d053a5
|
@ -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, () => { });
|
||||
|
|
|
@ -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, () => { });
|
||||
|
|
Loading…
Reference in New Issue