From cf0310828a2e15736d244ec266d49616732a5b50 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Sat, 26 Nov 2022 21:17:41 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20New=20app=20crunchyroll?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + src/config.py | 4 +++- src/patches.py | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e6dad3..b48ef46 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,7 @@ By default, script build the version as recommended by Revanced team. 12. pflotsh-ecmwf 13. hex-editor 14. citra + 15. crunchyroll 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 36c99b2..55cebdb 100644 --- a/src/config.py +++ b/src/config.py @@ -52,6 +52,7 @@ class RevancedConfig: "youtube_music": f"{self.apk_mirror}/apk/google-inc/youtube-music/", "ticktick": f"{self.apk_mirror}/apk/appest-inc/ticktick-to-do-list-with-reminder-day-planner/", "citra": f"{self.apk_mirror}/apk/citra-emulator/citra-emulator/", + "crunchyroll": f"{self.apk_mirror}/apk/ellation-inc/crunchyroll/", } self.apk_mirror_version_urls = { "reddit": f"{self.apk_mirror_urls.get('reddit')}reddit", @@ -61,7 +62,8 @@ class RevancedConfig: "youtube": f"{self.apk_mirror_urls.get('youtube')}youtube", "youtube_music": f"{self.apk_mirror_urls.get('youtube_music')}youtube-music", "ticktick": f"{self.apk_mirror_urls.get('ticktick')}ticktick-to-do-list-with-reminder-day-planner", - "citra": f"{self.apk_mirror_urls.get('ticktick')}citra-emulator", + "citra": f"{self.apk_mirror_urls.get('citra')}citra-emulator", + "crunchyroll": f"{self.apk_mirror_urls.get('crunchyroll')}crunchyroll", } self.archs_to_build = env.list("ARCHS_TO_BUILD", []) self.alternative_youtube_patches = env.list("ALTERNATIVE_YOUTUBE_PATCHES", []) diff --git a/src/patches.py b/src/patches.py index b910f85..4b64380 100644 --- a/src/patches.py +++ b/src/patches.py @@ -25,6 +25,7 @@ class Patches(object): "com.garzotto.pflotsh.ecmwf_a": ("pflotsh-ecmwf", "_pflotsh"), "com.myprog.hexedit": ("hex-editor", "_hexeditor"), "org.citra.citra_emu": ("citra", "_citra"), + "com.crunchyroll.crunchyroid": ("citra", "_crunchyroll"), } revanced_extended_app_ids = { "com.google.android.youtube": ("youtube", "_yt"), @@ -132,6 +133,7 @@ class Patches(object): "pflotsh-ecmwf": "_pflotsh", "hex-editor": "_hexeditor", "citra": "_citra", + "crunchyroll": "_crunchyroll", } if not (app_name := app_names.get(app)): raise AppNotFound(app)