forked from distok/cutthecord
Add branding patch
This commit is contained in:
parent
4f94f822b1
commit
1e39dff17e
3 changed files with 59 additions and 0 deletions
38
patches/branding/833.patch
Normal file
38
patches/branding/833.patch
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
diff -crB -x dist -x build com.discord-833-base/res/values/strings.xml com.discord-833/res/values/strings.xml
|
||||||
|
*** com.discord-833-base/res/values/strings.xml 2019-01-23 11:03:45.345694559 +0300
|
||||||
|
--- com.discord-833/res/values/strings.xml 2019-01-23 12:52:10.853353582 +0300
|
||||||
|
***************
|
||||||
|
*** 1130,1136 ****
|
||||||
|
<string name="disconnect_account_body">Disconnecting your account might remove you from servers you joined via this account.</string>
|
||||||
|
<string name="disconnect_account_title">Disconnect %1$s</string>
|
||||||
|
<string name="disconnect_from_voice">Disconnect from Voice</string>
|
||||||
|
! <string name="discord">Discord</string>
|
||||||
|
<string name="discord_desc_long">Free and secure chat for gamers, works on both your desktop and your phone.</string>
|
||||||
|
<string name="discord_desc_short">Team voice & text chat</string>
|
||||||
|
<string name="discord_gg">discord.gg/</string>
|
||||||
|
--- 1130,1136 ----
|
||||||
|
<string name="disconnect_account_body">Disconnecting your account might remove you from servers you joined via this account.</string>
|
||||||
|
<string name="disconnect_account_title">Disconnect %1$s</string>
|
||||||
|
<string name="disconnect_from_voice">Disconnect from Voice</string>
|
||||||
|
! <string name="discord">Cutthecord</string>
|
||||||
|
<string name="discord_desc_long">Free and secure chat for gamers, works on both your desktop and your phone.</string>
|
||||||
|
<string name="discord_desc_short">Team voice & text chat</string>
|
||||||
|
<string name="discord_gg">discord.gg/</string>
|
||||||
|
***************
|
||||||
|
*** 2683,2689 ****
|
||||||
|
<string name="notification_reply_failed">Failed to reply to %1$s</string>
|
||||||
|
<string name="notification_reply_success">Replied to %1$s</string>
|
||||||
|
<string name="notification_settings">Notification Settings</string>
|
||||||
|
! <string name="notification_title_discord">Discord</string>
|
||||||
|
<string name="notification_title_start_game">"Somebody Playin'"</string>
|
||||||
|
<string name="notifications">Notifications</string>
|
||||||
|
<string name="nsfw_accept">Continue</string>
|
||||||
|
--- 2683,2689 ----
|
||||||
|
<string name="notification_reply_failed">Failed to reply to %1$s</string>
|
||||||
|
<string name="notification_reply_success">Replied to %1$s</string>
|
||||||
|
<string name="notification_settings">Notification Settings</string>
|
||||||
|
! <string name="notification_title_discord">Cutthecord</string>
|
||||||
|
<string name="notification_title_start_game">"Somebody Playin'"</string>
|
||||||
|
<string name="notifications">Notifications</string>
|
||||||
|
<string name="nsfw_accept">Continue</string>
|
||||||
|
|
11
patches/branding/README.md
Normal file
11
patches/branding/README.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
## DisTok CutTheCord: Custom Branding Patch
|
||||||
|
|
||||||
|
This patch renames Discord app to Cutthecord.
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
|
#### Available and tested on:
|
||||||
|
- 8.3.3
|
||||||
|
|
10
patches/branding/customicon.sh
Normal file
10
patches/branding/customicon.sh
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-hdpi/ic_logo.png
|
||||||
|
\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-mdpi/ic_logo.png
|
||||||
|
\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xhdpi/ic_logo.png
|
||||||
|
\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xxhdpi/ic_logo.png
|
||||||
|
\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xxxhdpi/ic_logo.png
|
||||||
|
\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-hdpi/ic_logo_round.png
|
||||||
|
\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-mdpi/ic_logo_round.png
|
||||||
|
\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xhdpi/ic_logo_round.png
|
||||||
|
\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xxhdpi/ic_logo_round.png
|
||||||
|
\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xxxhdpi/ic_logo_round.png
|
Loading…
Reference in a new issue