From e93a85b9cccc647f92f85cec5b3402b6f139a899 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Fri, 21 Oct 2022 12:34:21 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Rip=20lib=20only=20for=20youtube?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.py | 1 + src/parser.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.py b/src/config.py index f1c1baa..daf996d 100644 --- a/src/config.py +++ b/src/config.py @@ -22,6 +22,7 @@ class RevancedConfig: self.keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore") self.apps = env.list("PATCH_APPS", supported_apps) self.extended_apps: List[str] = ["youtube", "youtube_music"] + self.rip_libs_apps: List[str] = ["youtube"] self.normal_cli_jar = "revanced-cli.jar" self.normal_patches_jar = "revanced-patches.jar" self.normal_integrations_apk = "revanced-integrations.apk" diff --git a/src/parser.py b/src/parser.py index 5b0afcc..b98cdb8 100644 --- a/src/parser.py +++ b/src/parser.py @@ -107,7 +107,7 @@ class Parser(object): if ( self.config.build_extended and len(self.config.archs_to_build) > 0 - and app in self.config.extended_apps + and app in self.config.rip_libs_apps ): excluded = set(possible_archs) - set(self.config.archs_to_build) for arch in excluded: