mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
✨ Build less apks
This commit is contained in:
+3
-5
@@ -5,10 +5,10 @@ from typing import Dict, List
|
||||
from environs import Env
|
||||
from requests import Session
|
||||
|
||||
from src.utils import all_builds, default_build
|
||||
from src.utils import default_build
|
||||
|
||||
|
||||
class RevancedConfig:
|
||||
class RevancedConfig(object):
|
||||
"""Revanced Configurations."""
|
||||
|
||||
def __init__(self, env: Env) -> None:
|
||||
@@ -30,9 +30,7 @@ class RevancedConfig:
|
||||
self.apk_sos = ["expensemanager"]
|
||||
self.keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore")
|
||||
self.ci_test = env.bool("CI_TEST", False)
|
||||
self.apps = env.list(
|
||||
"PATCH_APPS", all_builds if self.ci_test else default_build
|
||||
)
|
||||
self.apps = env.list("PATCH_APPS", default_build)
|
||||
self.extended_apps: List[str] = ["youtube", "youtube_music"]
|
||||
self.rip_libs_apps: List[str] = ["youtube"]
|
||||
self.normal_cli_jar = "revanced-cli.jar"
|
||||
|
||||
Reference in New Issue
Block a user