Created
January 16, 2023 12:24
-
-
Save pylixonly/aa49650a65691b32141f5a8a4846d1b9 to your computer and use it in GitHub Desktop.
Load Vendetta instead of AliucordRN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(()=>{const{externalStorageDirectory:t,restartApp:e,download:r}=nativeModuleProxy.AliucordNative,{exists:a,readFile:o}=AliuFS,d=`${t}/AliucordRN/vendetta.js`;if(a(d))return void(0,eval)(o(d,"text"));r("https://raw.githubusercontent.com/vendetta-mod/builds/master/vendetta.js",d).then(()=>e())})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
const { | |
externalStorageDirectory, | |
restartApp, | |
download | |
} = nativeModuleProxy.AliucordNative; | |
const { | |
exists, | |
readFile | |
} = AliuFS; | |
const vendettaPath = `${externalStorageDirectory}/AliucordRN/vendetta.js`; | |
if (exists(vendettaPath)) { | |
(0, eval)(readFile(vendettaPath, "text")); | |
return; | |
} | |
const downloadUrl = "https://raw.githubusercontent.com/vendetta-mod/builds/master/vendetta.js"; | |
download(downloadUrl, vendettaPath).then(() => restartApp()); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, AliucordRN (installed from AliucordManager) supports loading external bootstrap, so we can use it to load Vendetta instead of Aliucord.
Steps
Skip to step 3 if you already have AliucordRN installed.
bootstrap.js
in thesdcard/AliucordRN
directory which was generated by AliucordRN.