From 0a2eac1ea7b03e0558c44510eb24d20a90ee9576 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Sat, 22 Jun 2019 18:30:54 +0300 Subject: [PATCH] Change "Support" button to "CutTheCord Repo" --- patches/branding/909.patch | 61 ++++++++++++++++++++++++++++++-------- 1 file changed, 49 insertions(+), 12 deletions(-) diff --git a/patches/branding/909.patch b/patches/branding/909.patch index 0a2639e..a867852 100644 --- a/patches/branding/909.patch +++ b/patches/branding/909.patch @@ -1,6 +1,6 @@ -diff -crB from/AndroidManifest.xml to/AndroidManifest.xml -*** from/AndroidManifest.xml 2019-06-08 01:35:27.235073191 +0300 ---- to/AndroidManifest.xml 2019-06-08 01:35:30.661756008 +0300 +diff -crB com.discord-909-base/AndroidManifest.xml com.discord-909/AndroidManifest.xml +*** com.discord-909-base/AndroidManifest.xml 2019-06-08 01:35:27.235073191 +0300 +--- com.discord-909/AndroidManifest.xml 2019-06-22 18:29:58.798023380 +0300 *************** *** 1,4 **** ! @@ -102,9 +102,9 @@ diff -crB from/AndroidManifest.xml to/AndroidManifest.xml ! -diff -crB from/apktool.yml to/apktool.yml -*** from/apktool.yml 2019-06-08 01:35:09.158332938 +0300 ---- to/apktool.yml 2019-06-08 01:35:30.661756008 +0300 +diff -crB com.discord-909-base/apktool.yml com.discord-909/apktool.yml +*** com.discord-909-base/apktool.yml 2019-06-08 01:35:09.158332938 +0300 +--- com.discord-909/apktool.yml 2019-06-22 18:29:58.798023380 +0300 *************** *** 308,312 **** tag: null @@ -118,9 +118,9 @@ diff -crB from/apktool.yml to/apktool.yml versionInfo: ! versionCode: '909CTCBUILD' ! versionName: 9.0.9-cutthecord-CTCBUILD -diff -crB from/res/values/strings.xml to/res/values/strings.xml -*** from/res/values/strings.xml 2019-06-08 01:35:05.168316695 +0300 ---- to/res/values/strings.xml 2019-06-08 01:35:30.661756008 +0300 +diff -crB com.discord-909-base/res/values/strings.xml com.discord-909/res/values/strings.xml +*** com.discord-909-base/res/values/strings.xml 2019-06-22 18:22:05.055498095 +0300 +--- com.discord-909/res/values/strings.xml 2019-06-22 18:29:58.801356731 +0300 *************** *** 1286,1292 **** Disconnecting your account might remove you from servers you joined via this account. @@ -155,9 +155,46 @@ diff -crB from/res/values/strings.xml to/res/values/strings.xml "Somebody Playin'" Notifications Continue -diff -crB from/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali to/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali -*** from/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali 2019-06-08 01:35:06.558322354 +0300 ---- to/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali 2019-06-08 01:35:30.661756008 +0300 +*************** +*** 4068,4074 **** + Sub Enabled Servers + Subscriber Information + Suggestions +! Support + Suppressed + "It seems you've gone AFK on us. We've went ahead and moved you to the AFK channel." + Hello, anyone there? +--- 4068,4074 ---- + Sub Enabled Servers + Subscriber Information + Suggestions +! CutTheCord Repo + Suppressed + "It seems you've gone AFK on us. We've went ahead and moved you to the AFK channel." + Hello, anyone there? +diff -crB com.discord-909-base/smali/com/discord/app/e.smali com.discord-909/smali/com/discord/app/e.smali +*** com.discord-909-base/smali/com/discord/app/e.smali 2019-06-22 18:24:50.793046000 +0300 +--- com.discord-909/smali/com/discord/app/e.smali 2019-06-22 18:26:28.780233673 +0300 +*************** +*** 53,59 **** + .line 15 + sput-object v0, Lcom/discord/app/e;->sH:Ljava/lang/String; + +! const-string v0, "https://support.discordapp.com" + + .line 16 + sput-object v0, Lcom/discord/app/e;->sI:Ljava/lang/String; +--- 53,59 ---- + .line 15 + sput-object v0, Lcom/discord/app/e;->sH:Ljava/lang/String; + +! const-string v0, "https://gitdab.com/distok/cutthecord" + + .line 16 + sput-object v0, Lcom/discord/app/e;->sI:Ljava/lang/String; +diff -crB com.discord-909-base/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali com.discord-909/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali +*** com.discord-909-base/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali 2019-06-08 01:35:06.558322354 +0300 +--- com.discord-909/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali 2019-06-22 18:29:58.804690082 +0300 *************** *** 77,83 ****