From 1e39dff17e04729ec160f08127e0e7fe2aecd34d Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Wed, 23 Jan 2019 12:54:45 +0300 Subject: [PATCH] Add branding patch --- patches/branding/833.patch | 38 ++++++++++++++++++++++++++++++++++ patches/branding/README.md | 11 ++++++++++ patches/branding/customicon.sh | 10 +++++++++ 3 files changed, 59 insertions(+) create mode 100644 patches/branding/833.patch create mode 100644 patches/branding/README.md create mode 100644 patches/branding/customicon.sh diff --git a/patches/branding/833.patch b/patches/branding/833.patch new file mode 100644 index 00000000..6cfdb6e3 --- /dev/null +++ b/patches/branding/833.patch @@ -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 **** + Disconnecting your account might remove you from servers you joined via this account. + Disconnect %1$s + Disconnect from Voice +! Discord + Free and secure chat for gamers, works on both your desktop and your phone. + Team voice & text chat + discord.gg/ +--- 1130,1136 ---- + Disconnecting your account might remove you from servers you joined via this account. + Disconnect %1$s + Disconnect from Voice +! Cutthecord + Free and secure chat for gamers, works on both your desktop and your phone. + Team voice & text chat + discord.gg/ +*************** +*** 2683,2689 **** + Failed to reply to %1$s + Replied to %1$s + Notification Settings +! Discord + "Somebody Playin'" + Notifications + Continue +--- 2683,2689 ---- + Failed to reply to %1$s + Replied to %1$s + Notification Settings +! Cutthecord + "Somebody Playin'" + Notifications + Continue + diff --git a/patches/branding/README.md b/patches/branding/README.md new file mode 100644 index 00000000..f429c6f7 --- /dev/null +++ b/patches/branding/README.md @@ -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 + diff --git a/patches/branding/customicon.sh b/patches/branding/customicon.sh new file mode 100644 index 00000000..b983b567 --- /dev/null +++ b/patches/branding/customicon.sh @@ -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