mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-24 19:38:36 +09:00
Added apkeep support
This commit is contained in:
committed by
Nikhil Badyal
parent
bb05ec0f6f
commit
05ca33164c
@@ -15,12 +15,13 @@ def check_if_build_is_required() -> bool:
|
||||
env.read_env()
|
||||
config = RevancedConfig(env)
|
||||
needs_to_repatched = []
|
||||
resource_cache: dict[str, tuple[str, str]] = {}
|
||||
for app_name in env.list("PATCH_APPS", default_build):
|
||||
logger.info(f"Checking {app_name}")
|
||||
app_obj = get_app(config, app_name)
|
||||
old_patches_version = GitHubManager(env).get_last_version(app_obj, patches_version_key)
|
||||
old_patches_source = GitHubManager(env).get_last_version_source(app_obj, patches_dl_key)
|
||||
app_obj.download_patch_resources(config)
|
||||
app_obj.download_patch_resources(config, resource_cache)
|
||||
if GitHubManager(env).should_trigger_build(
|
||||
old_patches_version,
|
||||
old_patches_source,
|
||||
|
||||
Reference in New Issue
Block a user