forked from distok/cutthecord
Info on patching
This commit is contained in:
parent
5b9a28939b
commit
4220a0851e
1 changed files with 6 additions and 2 deletions
|
@ -13,9 +13,13 @@ Discord Android app patches
|
|||
|
||||
## Building an patched discord app
|
||||
|
||||
- Get a Discord apk (*cough* [aptoide](https://ws75.aptoide.com/api/7/app/getMeta?package_name=com.discord)), and get the patches you want for that version. If the patches aren't available, you'll have to port them yourself.
|
||||
- Apply the patches you want
|
||||
- Get a Discord apk (*cough* [aptoide](https://ws75.aptoide.com/api/7/app/getMeta?package_name=com.discord)), and get all the necessary patches and the optional patches you want for that version. If the patches aren't available, you'll have to port them yourself.
|
||||
- Apply the patches (`patch -p1 < <patch name>`).
|
||||
- Edit `emojireplace.sh` to point to right directories, and apply emoji patches (`bash emojireplace.sh`)
|
||||
- Build the new APK (`apktool b com.discord-831`)
|
||||
- Sign the new APK (`jarsigner -keystore <keystore path> <foldername>/dist/<foldername>.apk <alias>`)
|
||||
- Get your new APK from `<foldername>/dist/<foldername>.apk`, install and enjoy!
|
||||
|
||||
## Building patches
|
||||
|
||||
`diff -crB -x "dist" Folder1 Folder2 > atmpatch.patch`
|
||||
|
|
Loading…
Reference in a new issue