mirror of
https://booba.tech/CutTheCord/cutthecord.git
synced 2024-08-15 03:24:52 +00:00
Update build docs
I decided to keep the old folder names/paths with this, I might change in the future.
This commit is contained in:
parent
e9591303fd
commit
66330bc761
1 changed files with 5 additions and 4 deletions
|
@ -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 < <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`)
|
||||
- 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!
|
||||
- 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!
|
||||
|
||||
#### Building patches
|
||||
|
||||
|
|
Loading…
Reference in a new issue