|
|
@ -22,7 +22,11 @@ const init = async () => {
|
|
|
|
console.log('[GooseMod Bootstrap]', 'Found locale', locale);
|
|
|
|
console.log('[GooseMod Bootstrap]', 'Found locale', locale);
|
|
|
|
|
|
|
|
|
|
|
|
// eval(await (await fetch(`http://localhost:1234/goosemod.${locale}.js`)).text());
|
|
|
|
// eval(await (await fetch(`http://localhost:1234/goosemod.${locale}.js`)).text());
|
|
|
|
eval(await (await fetch(`https://raw.githubusercontent.com/GooseMod/GooseMod/dist-dev/goosemod.${locale}.js?_<buildtime>`)).text());
|
|
|
|
try {
|
|
|
|
|
|
|
|
eval(await (await fetch(`https://raw.githubusercontent.com/GooseMod/GooseMod/dist-dev/goosemod.${locale}.js?_<buildtime>`)).text());
|
|
|
|
|
|
|
|
} catch {
|
|
|
|
|
|
|
|
eval(await (await fetch(`https://raw.githubusercontent.com/GooseMod/GooseMod/dist-dev/goosemod.${locale}.js?_${Date.now()}`)).text());
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
init();
|
|
|
|
init();
|
|
|
|