New app crunchyroll

This commit is contained in:
Nikhil Badyal
2022-11-26 21:17:41 +05:30
parent 3131fd0437
commit cf0310828a
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -134,6 +134,7 @@ By default, script build the version as recommended by Revanced team.
12. pflotsh-ecmwf 12. pflotsh-ecmwf
13. hex-editor 13. hex-editor
14. citra 14. citra
15. crunchyroll
2. Remember to download the **_Microg_**. Otherwise, you will not be able to open YouTube. 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. 3. By default, it will build only `youtube`. To build other apps supported by revanced team.
+3 -1
View File
@@ -52,6 +52,7 @@ class RevancedConfig:
"youtube_music": f"{self.apk_mirror}/apk/google-inc/youtube-music/", "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/", "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/", "citra": f"{self.apk_mirror}/apk/citra-emulator/citra-emulator/",
"crunchyroll": f"{self.apk_mirror}/apk/ellation-inc/crunchyroll/",
} }
self.apk_mirror_version_urls = { self.apk_mirror_version_urls = {
"reddit": f"{self.apk_mirror_urls.get('reddit')}reddit", "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": f"{self.apk_mirror_urls.get('youtube')}youtube",
"youtube_music": f"{self.apk_mirror_urls.get('youtube_music')}youtube-music", "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", "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.archs_to_build = env.list("ARCHS_TO_BUILD", [])
self.alternative_youtube_patches = env.list("ALTERNATIVE_YOUTUBE_PATCHES", []) self.alternative_youtube_patches = env.list("ALTERNATIVE_YOUTUBE_PATCHES", [])
+2
View File
@@ -25,6 +25,7 @@ class Patches(object):
"com.garzotto.pflotsh.ecmwf_a": ("pflotsh-ecmwf", "_pflotsh"), "com.garzotto.pflotsh.ecmwf_a": ("pflotsh-ecmwf", "_pflotsh"),
"com.myprog.hexedit": ("hex-editor", "_hexeditor"), "com.myprog.hexedit": ("hex-editor", "_hexeditor"),
"org.citra.citra_emu": ("citra", "_citra"), "org.citra.citra_emu": ("citra", "_citra"),
"com.crunchyroll.crunchyroid": ("citra", "_crunchyroll"),
} }
revanced_extended_app_ids = { revanced_extended_app_ids = {
"com.google.android.youtube": ("youtube", "_yt"), "com.google.android.youtube": ("youtube", "_yt"),
@@ -132,6 +133,7 @@ class Patches(object):
"pflotsh-ecmwf": "_pflotsh", "pflotsh-ecmwf": "_pflotsh",
"hex-editor": "_hexeditor", "hex-editor": "_hexeditor",
"citra": "_citra", "citra": "_citra",
"crunchyroll": "_crunchyroll",
} }
if not (app_name := app_names.get(app)): if not (app_name := app_names.get(app)):
raise AppNotFound(app) raise AppNotFound(app)