From 4220a0851e00339af799a4742aceeb5480cbbaa6 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Fri, 18 Jan 2019 19:04:55 +0300 Subject: [PATCH] Info on patching --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff87bc0..e3342a8 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`