From e9591303fd4630730eab98f39cfcc699768e9143 Mon Sep 17 00:00:00 2001 From: 46620 <46620osu@gmail.com> Date: Mon, 20 Jun 2022 01:47:03 -0400 Subject: [PATCH 1/2] manual updates will cause this to happen --- README.md | 6 ++---- resources/patchport-state.json | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8e0ee5f..3531bcb 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Modular Client Mod for Discord's Android app. -**Latest supported Discord Android version:** 119.5 - Beta (119105), released on 2022-03-16. +**Latest supported Discord Android version:** 127.9 - Beta (127109), released on 2022-05-14. New patch development will be done for the latest supported version. @@ -12,9 +12,7 @@ Check out [README.md in patches folder to see what patches are available and wha ## Binaries (apk) -Builds are automatically done [here](https://ci.46620.moe/job/CutTheCord%20Builds). If you want your own custom build with your own resources, please message me on discord at 46620#4662 to get your own build setup. - -You can add that to your phone and get updates easily or just download directly from there. **Rooting is NOT needed, CutTheCord can be installed alongside official Discord and/or other CutTheCord branches.** +Builds are manually done in the release tab. ~~If you want your own custom build with your own resources, please message me on discord at 46620#4662 to get your own build setup.~~ I'm currently not doing custom builds as I have to do all builds manually, once automation comes back, I will open up to customs. **Rooting is NOT needed, CutTheCord can be installed alongside official Discord and/or other CutTheCord branches.** Feel free to ignore play protect, it's bullshit. diff --git a/resources/patchport-state.json b/resources/patchport-state.json index f975939..a59d710 100644 --- a/resources/patchport-state.json +++ b/resources/patchport-state.json @@ -1 +1 @@ -{"versionname": "119.5 - Beta", "versioncode": "119105"} \ No newline at end of file +{"versionname": "127.9 - Beta", "versioncode": "127109"} \ No newline at end of file From 66330bc7612aec8173e72422e845f385f412cae6 Mon Sep 17 00:00:00 2001 From: 46620 <46620osu@gmail.com> Date: Mon, 20 Jun 2022 01:50:41 -0400 Subject: [PATCH 2/2] Update build docs I decided to keep the old folder names/paths with this, I might change in the future. --- BUILDING.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index f39be18..5509be7 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -6,11 +6,11 @@ - Get a keystore, see [here](https://stackoverflow.com/a/14994354/3286892), step 1. - Get apksigner, it's part of android build tools. - If you want Mutant Standard emoji patches, get 72x72 PNG copies of latest version of mutant standard emojis with codepoints. I have a zip [here](https://mutant.lavatech.top/72x72.zip). -- If you want Blob emoji patches, get 72x72 PNG copies of blobmojis with codepoints. I personally resized the png/128 folder in this [repo](https://github.com/C1710/blobmoji) (`find /home/ave/blobmoji/png/72 -iname '*.png' -exec convert \{\} -verbose -resize 72x72\> \{\} \;`). +- If you want Blob emoji patches, ~~get 72x72 PNG copies of blobmojis with codepoints. I personally resized the png/128 folder in this [repo](https://github.com/C1710/blobmoji) (`find /home/ave/blobmoji/png/72 -iname '*.png' -exec convert \{\} -verbose -resize 72x72\> \{\} \;`)~~ Use [this](https://booba.tech/CutTheCord/blobs) repo. - Extract the emojis you got somewhere. - Clone this repo somewhere. - Set your environment variables (see below), put them to somewhere where they'll persist (like your .bashrc/.zshrc, or preferably a build script). -- Get a Discord apk (*cough* [this repo](https://git.46620.moe/CutTheCord-Femboy/discord), [aptoide API](https://ws75.aptoide.com/api/7/app/getMeta?package_name=com.discord)). +- Get a Discord apk (*cough* [this repo](https://booba.tech/CutTheCord/discord), [aptoide API](https://ws75.aptoide.com/api/7/app/getMeta?package_name=com.discord)). ### Using CutTheCord CI @@ -49,8 +49,9 @@ Example: `python3.6 /home/ave/distokrepos/cutthecord/ctcci/ctcci.py ave mutant c - Apply the patches (`patch -p1 < `). - If you want mutant (or other emoji patches), edit `patches/mutant/emojireplace.py` to point to extracted discord folder (`extracted_discord_path`), and apply emoji patches (`python3 emojireplace.py`) - Build the new APK (`apktool b com.discord-832`) -- Sign the new APK (`jarsigner -keystore /dist/.apk `) -- Get your new APK from `/dist/.apk`, install and enjoy! +- Align the zip (`zipalign -f -p 4 com.discord-832.apk com.discord-832-aligned.apk`) +- Sign the new APK (`apksigner sign --ks /dist/.apk`) +- Get your new APK from `/dist/-aligned.apk`, install and enjoy! #### Building patches