From ab6a68a0088241e72315d027be4d34d67a318743 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Wed, 16 Nov 2022 22:27:59 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20New=20app=20tv.twitch.android.app?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + src/config.py | 2 +- src/patches.py | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0472d78..1d7d4f4 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ By default, script build the version as recommended by Revanced team. 8. nyx-music-player 9. icon-pack-studio 10. ticktick + 11. twitch 2. Remember to download the **_Microg_**. Otherwise, you will not be able to open YouTube. 3. By default, it will build only `youtube`. To build other apps supported by revanced team. diff --git a/src/config.py b/src/config.py index 86822ee..980ea35 100644 --- a/src/config.py +++ b/src/config.py @@ -19,7 +19,7 @@ class RevancedConfig: self.session.headers["User-Agent"] = "anything" self.build_extended = env.bool("BUILD_EXTENDED", False) self.apk_mirror = "https://www.apkmirror.com" - self.upto_down = ["spotify", "nyx-music-player", "icon-pack-studio"] + self.upto_down = ["spotify", "nyx-music-player", "icon-pack-studio", "twitch"] self.keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore") self.apps = env.list("PATCH_APPS", default_build) self.extended_apps: List[str] = ["youtube", "youtube_music"] diff --git a/src/patches.py b/src/patches.py index 6be623a..5f45c43 100644 --- a/src/patches.py +++ b/src/patches.py @@ -48,6 +48,7 @@ class Patches(object): "com.awedea.nyx": ("nyx-music-player", "_nyx"), "ginlemon.iconpackstudio": ("icon-pack-studio", "_iconpackstudio"), "com.ticktick.task": ("ticktik", "_ticktik"), + "tv.twitch.android.app": ("twitch", "_twitch"), } for app_name in (revanced_app_ids[x][1] for x in revanced_app_ids): @@ -120,6 +121,7 @@ class Patches(object): "nyx-music-player": "_nyx", "icon-pack-studio": "_iconpackstudio", "ticktik": "_ticktik", + "twitch": "_twitch", } if not (app_name := app_names.get(app)): raise AppNotFound(app_name)