From b65a31f66cdfb592b56b84c71f0248f89767ea67 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Sat, 1 Jul 2023 17:23:19 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20Inshorts?= 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 ++ src/utils.py | 1 + 4 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 837e86e..e2fd829 100644 --- a/README.md +++ b/README.md @@ -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/) 22. [netguard](https://www.apkmirror.com/apk/marcel-bokhorst/netguard-no-root-firewall/) 23. [instagram](https://www.apkmirror.com/apk/instagram/instagram-instagram/) + 24. [Inshorts](https://www.apkmirror.com/apk/inshorts-formerly-news-in-shorts/)
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. diff --git a/src/config.py b/src/config.py index 08a3ab4..f0c9368 100644 --- a/src/config.py +++ b/src/config.py @@ -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", []) diff --git a/src/patches.py b/src/patches.py index 689b48c..1e5dbe7 100644 --- a/src/patches.py +++ b/src/patches.py @@ -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) diff --git a/src/utils.py b/src/utils.py index a42a61e..350e60c 100644 --- a/src/utils.py +++ b/src/utils.py @@ -30,6 +30,7 @@ all_builds = [ "nova_launcher", "netguard", "instagram", + "inshorts", ] possible_archs = ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]