Compare commits

..

No commits in common. "master" and "127109" have entirely different histories.

3 changed files with 9 additions and 8 deletions

View file

@ -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\> \{\} \;`)~~ Use [this](https://booba.tech/CutTheCord/blobs) repo.
- 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\> \{\} \;`).
- 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://booba.tech/CutTheCord/discord), [aptoide API](https://ws75.aptoide.com/api/7/app/getMeta?package_name=com.discord)).
- 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)).
### Using CutTheCord CI
@ -49,9 +49,8 @@ Example: `python3.6 /home/ave/distokrepos/cutthecord/ctcci/ctcci.py ave mutant c
- Apply the patches (`patch -p1 < <patch name>`).
- 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`)
- Align the zip (`zipalign -f -p 4 com.discord-832.apk com.discord-832-aligned.apk`)
- Sign the new APK (`apksigner sign --ks <keystore path> <foldername>/dist/<foldername>.apk`)
- Get your new APK from `<foldername>/dist/<foldername>-aligned.apk`, install and enjoy!
- 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

View file

@ -2,7 +2,7 @@
Modular Client Mod for Discord's Android app.
**Latest supported Discord Android version:** 127.9 - Beta (127109), released on 2022-05-14.
**Latest supported Discord Android version:** 119.5 - Beta (119105), released on 2022-03-16.
New patch development will be done for the latest supported version.
@ -12,7 +12,9 @@ Check out [README.md in patches folder to see what patches are available and wha
## Binaries (apk)
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.**
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.**
Feel free to ignore play protect, it's bullshit.

View file

@ -1 +1 @@
{"versionname": "127.9 - Beta", "versioncode": "127109"}
{"versionname": "119.5 - Beta", "versioncode": "119105"}