forked from distok/cutthecord
49 lines
1 KiB
Markdown
49 lines
1 KiB
Markdown
## DisTok CutTheCord: Custom Branding Patch
|
|
|
|
This patch renames Discord app to CutTheCord.
|
|
|
|
It also enables debuggability (`android:debuggable`) and backupability (`android:allowBackup`) of the application.
|
|
|
|
You'll need to run "addpatch.py" with syntax of `python3 addpatch.py $in_patch_filename $app_name $branch_name` and use the `-custom.patch` version, or else it'll fail. You'll need to put a valid directory for storing hacky build counters to it.
|
|
|
|
Running customicon.sh (while on root of the extracted folder) will also change the icon to the debug icon:
|
|
|
|
![](https://elixi.re/i/48nc2je7.png)
|
|
|
|
|
|
You can use the following line to patch authorities:
|
|
|
|
`sed -i 's/android:authorities="com.discord./android:authorities="top.distok.cutthecord.CTCBRANCH./g' AndroidManifest.xml`
|
|
|
|
#### Available and tested on:
|
|
- 8.3.3
|
|
- 8.3.4g
|
|
- 8.3.5g
|
|
- 8.3.6g
|
|
- 8.3.9g
|
|
- 8.4.1g
|
|
- 8.4.2g
|
|
- 8.4.3g
|
|
- 8.4.4g
|
|
- 8.4.5g
|
|
- 8.4.8
|
|
- 8.5.0
|
|
- 8.5.1
|
|
- 8.5.3
|
|
- 8.5.4
|
|
- 8.5.5
|
|
- 8.5.6
|
|
- 8.7.6
|
|
- 8.8.4
|
|
- 8.8.8
|
|
- 8.9.6
|
|
- 8.9.7
|
|
- 8.9.8
|
|
- 8.9.9
|
|
- 9.0.0
|
|
- 9.0.1
|
|
- 9.0.2
|
|
- 9.0.3
|
|
- 9.0.4
|
|
- 9.0.6
|
|
|