Script that applies CutTheCord patches to Discord
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Observer of Time a4a02109af
Add instructions & remove jq dependency
3 weeks ago
.gitignore Initial commit 1 month ago
LICENSE Initial commit 1 month ago
README.md Add instructions & remove jq dependency 3 weeks ago
patch.sh Add instructions & remove jq dependency 3 weeks ago

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/.