🐛 Rip lib only for youtube

This commit is contained in:
Nikhil Badyal
2022-10-21 12:34:21 +05:30
parent 919f939cb9
commit e93a85b9cc
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -22,6 +22,7 @@ class RevancedConfig:
self.keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore") self.keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore")
self.apps = env.list("PATCH_APPS", supported_apps) self.apps = env.list("PATCH_APPS", supported_apps)
self.extended_apps: List[str] = ["youtube", "youtube_music"] self.extended_apps: List[str] = ["youtube", "youtube_music"]
self.rip_libs_apps: List[str] = ["youtube"]
self.normal_cli_jar = "revanced-cli.jar" self.normal_cli_jar = "revanced-cli.jar"
self.normal_patches_jar = "revanced-patches.jar" self.normal_patches_jar = "revanced-patches.jar"
self.normal_integrations_apk = "revanced-integrations.apk" self.normal_integrations_apk = "revanced-integrations.apk"
+1 -1
View File
@@ -107,7 +107,7 @@ class Parser(object):
if ( if (
self.config.build_extended self.config.build_extended
and len(self.config.archs_to_build) > 0 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) excluded = set(possible_archs) - set(self.config.archs_to_build)
for arch in excluded: for arch in excluded: