Added Inshorts

This commit is contained in:
Nikhil Badyal
2023-07-01 17:23:19 +05:30
parent c93857a0e9
commit b65a31f66c
4 changed files with 6 additions and 0 deletions
+1
View File
@@ -148,6 +148,7 @@ By default, script build the version as recommended by Revanced team.
21. [nova_launcher](https://www.apkmirror.com/apk/teslacoil-software/nova-launcher/) 21. [nova_launcher](https://www.apkmirror.com/apk/teslacoil-software/nova-launcher/)
22. [netguard](https://www.apkmirror.com/apk/marcel-bokhorst/netguard-no-root-firewall/) 22. [netguard](https://www.apkmirror.com/apk/marcel-bokhorst/netguard-no-root-firewall/)
23. [instagram](https://www.apkmirror.com/apk/instagram/instagram-instagram/) 23. [instagram](https://www.apkmirror.com/apk/instagram/instagram-instagram/)
24. [Inshorts](https://www.apkmirror.com/apk/inshorts-formerly-news-in-shorts/)
<br>Please verify the source of original APKs yourself with links provided. I'm not responsible for any damaged caused. <br>Please verify the source of original APKs yourself with links provided. I'm not responsible for any damaged caused.
If you know any better/safe source to download clean. Please raise a PR. If you know any better/safe source to download clean. Please raise a PR.
+2
View File
@@ -69,6 +69,7 @@ class RevancedConfig(object):
"nova_launcher": f"{self.apk_mirror}/apk/teslacoil-software/nova-launcher/", "nova_launcher": f"{self.apk_mirror}/apk/teslacoil-software/nova-launcher/",
"netguard": f"{self.apk_mirror}/apk/marcel-bokhorst/netguard-no-root-firewall/", "netguard": f"{self.apk_mirror}/apk/marcel-bokhorst/netguard-no-root-firewall/",
"instagram": f"{self.apk_mirror}/apk/instagram/instagram-instagram/", "instagram": f"{self.apk_mirror}/apk/instagram/instagram-instagram/",
"inshorts": f"{self.apk_mirror}/apk/inshorts-formerly-news-in-shorts/",
} }
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",
@@ -86,6 +87,7 @@ class RevancedConfig(object):
"nova_launcher": f"{self.apk_mirror_urls.get('nova_launcher')}nova-launcher", "nova_launcher": f"{self.apk_mirror_urls.get('nova_launcher')}nova-launcher",
"netguard": f"{self.apk_mirror_urls.get('netguard')}netguard-no-root-firewall", "netguard": f"{self.apk_mirror_urls.get('netguard')}netguard-no-root-firewall",
"instagram": f"{self.apk_mirror_urls.get('instagram')}instagram-instagram", "instagram": f"{self.apk_mirror_urls.get('instagram')}instagram-instagram",
"inshorts": f"{self.apk_mirror_urls.get('inshorts')}inshorts-formerly-news-in-shorts",
} }
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
@@ -34,6 +34,7 @@ class Patches(object):
"com.teslacoilsw.launcher": ("nova_launcher", "_nova_launcher"), "com.teslacoilsw.launcher": ("nova_launcher", "_nova_launcher"),
"eu.faircode.netguard": ("netguard", "_netguard"), "eu.faircode.netguard": ("netguard", "_netguard"),
"com.instagram.android": ("instagram", "_instagram"), "com.instagram.android": ("instagram", "_instagram"),
"com.nis.app": ("inshorts", "_inshorts"),
} }
revanced_extended_app_ids = { revanced_extended_app_ids = {
"com.google.android.youtube": ("youtube", "_yt"), "com.google.android.youtube": ("youtube", "_yt"),
@@ -152,6 +153,7 @@ class Patches(object):
"nova_launcher": "_nova_launcher", "nova_launcher": "_nova_launcher",
"netguard": "_netguard", "netguard": "_netguard",
"instagram": "_instagram", "instagram": "_instagram",
"inshorts": "_inshorts",
} }
if not (app_name := app_names.get(app)): if not (app_name := app_names.get(app)):
raise AppNotFound(app) raise AppNotFound(app)
+1
View File
@@ -30,6 +30,7 @@ all_builds = [
"nova_launcher", "nova_launcher",
"netguard", "netguard",
"instagram", "instagram",
"inshorts",
] ]
possible_archs = ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"] possible_archs = ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]