diff --git a/README.md b/README.md index ff87bc06b7..e3342a8b67 100644 --- a/README.md +++ b/README.md @@ -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 < `). - 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 /dist/.apk `) - Get your new APK from `/dist/.apk`, install and enjoy! + +## Building patches + +`diff -crB -x "dist" Folder1 Folder2 > atmpatch.patch`