Script that applies CutTheCord patches to Discord
This repository has been archived on 2021-11-19. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Observer of Time 277641529d Use VERCODE to specify the package version 2020-04-08 15:16:18 +00:00
.gitignore Initial commit 2020-03-07 16:38:19 +02:00
LICENSE Initial commit 2020-03-07 16:38:19 +02:00
README.md Add instructions & remove jq dependency 2020-03-13 23:39:58 +02:00
patch.sh Use VERCODE to specify the package version 2020-04-08 15:16:18 +00:00

README.md

CutTheCord patcher

Requires

  • bash
  • coreutils
  • sed
  • patch
  • git
  • curl
  • apktool
  • keytool
  • jarsigner
  • adb (optional if SKIP_INSTALL is set)

Patches

  • bettertm
  • branding
  • customfont (text, code)
  • customversion
  • necessary
  • noblocked
  • notrack
  • squareavatars

Usage

The script needs a keystore to sign the patched app.

# the path to a .keystore or .jks file
export KEYSTORE_PATH="ctc-key.jks"
# the alias of the keystore
export KEYSTORE_ALIAS="ctc-key"

If the file doesn't exist, generate it with keytool.

keytool -genkeypair \
  -keystore "$KEYSTORE_PATH" \
  -alias "$KEYSTORE_ALIAS"

Now, you can run the script.
You will be prompted to enter the keystore password.

bash < <(curl -LSs https://ikl.sh/ctc-patcher)

You can install the patched app manually by setting SKIP_INSTALL before running the script.
You will find it in com.discord-*/dist/.