This repository has been archived on 2021-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
cutthecord/patches/branding/README.md

58 lines
1.7 KiB
Markdown
Raw Normal View History

2019-01-23 09:54:45 +00:00
## DisTok CutTheCord: Custom Branding Patch
2019-05-13 08:45:31 +00:00
This patch renames Discord app to CutTheCord.
It also enables debuggability (`android:debuggable`) and backupability (`android:allowBackup`) of the application.
2019-01-23 09:54:45 +00:00
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.
2019-01-25 12:48:05 +00:00
2019-06-22 14:29:53 +00:00
Running `customicon.sh` (while on root of the extracted folder) will also change the icon to the debug icon:
2019-01-23 09:54:45 +00:00
![](https://elixi.re/i/48nc2je7.png)
2019-06-22 14:29:53 +00:00
If you want a different icon, replace `res/mipmap-xxxhdpi/logo_debug.png` with the icon you want before running `customicon.sh`. If you don't want dynamic icon to be shown instead of the custom icon, delete the folder `res/mipmap-anydpi-v26/` (or if you want to replace it too, look at the next line instead).
If you want a custom dynamic icon replace `res/mipmap-xxxhdpi/ic_launcher_foreground.png` (optionally transparent image with only the foreground of the icon) and `res/mipmap-xxxhdpi/ic_launcher_background.png` (optionally transparent image with only the background of the icon), both images should be square and of same size, and then run `customdynamicicon.sh`.
You can use the following line to patch authorities:
2019-06-22 14:29:53 +00:00
`sed -i 's/android:authorities="com.discord./android:authorities="com.cutthecord.CTCBRANCH./g' AndroidManifest.xml`
2019-01-23 09:54:45 +00:00
#### Available and tested on:
- 8.3.3
2019-01-25 08:50:06 +00:00
- 8.3.4g
- 8.3.5g
- 8.3.6g
2019-02-03 06:56:40 +00:00
- 8.3.9g
- 8.4.1g
- 8.4.2g
- 8.4.3g
2019-02-08 08:29:01 +00:00
- 8.4.4g
2019-02-14 23:05:52 +00:00
- 8.4.5g
- 8.4.8
2019-02-23 20:57:47 +00:00
- 8.5.0
2019-02-27 07:31:20 +00:00
- 8.5.1
- 8.5.3
- 8.5.4
- 8.5.5
- 8.5.6
- 8.7.6
2019-04-25 11:01:07 +00:00
- 8.8.4
- 8.8.8
- 8.9.6
- 8.9.7
- 8.9.8
2019-05-17 12:00:15 +00:00
- 8.9.9
- 9.0.0
2019-05-22 06:04:37 +00:00
- 9.0.1
- 9.0.2
2019-05-24 20:48:16 +00:00
- 9.0.3
- 9.0.4
- 9.0.6
2019-06-07 22:35:44 +00:00
- 9.0.9
2019-06-25 12:11:01 +00:00
- 9.1.0
2019-08-12 18:10:22 +00:00
- 9.3.8-SAO-Heathcliff
2019-08-16 20:58:00 +00:00
- 9.3.9
2019-08-16 21:41:53 +00:00
- 9.4.0
2019-01-23 09:54:45 +00:00