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
+2
View File
@@ -69,6 +69,7 @@ class RevancedConfig(object):
"nova_launcher": f"{self.apk_mirror}/apk/teslacoil-software/nova-launcher/",
"netguard": f"{self.apk_mirror}/apk/marcel-bokhorst/netguard-no-root-firewall/",
"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 = {
"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",
"netguard": f"{self.apk_mirror_urls.get('netguard')}netguard-no-root-firewall",
"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.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"),
"eu.faircode.netguard": ("netguard", "_netguard"),
"com.instagram.android": ("instagram", "_instagram"),
"com.nis.app": ("inshorts", "_inshorts"),
}
revanced_extended_app_ids = {
"com.google.android.youtube": ("youtube", "_yt"),
@@ -152,6 +153,7 @@ class Patches(object):
"nova_launcher": "_nova_launcher",
"netguard": "_netguard",
"instagram": "_instagram",
"inshorts": "_inshorts",
}
if not (app_name := app_names.get(app)):
raise AppNotFound(app)
+1
View File
@@ -30,6 +30,7 @@ all_builds = [
"nova_launcher",
"netguard",
"instagram",
"inshorts",
]
possible_archs = ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]