mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🐛 Fixed false excluded patches
This commit is contained in:
@@ -263,6 +263,10 @@ class ArgParser:
|
|||||||
def get_excluded_patches(cls) -> List[Any]:
|
def get_excluded_patches(cls) -> List[Any]:
|
||||||
return cls._EXCLUDED
|
return cls._EXCLUDED
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def reset_excluded_patches(cls) -> None:
|
||||||
|
cls._EXCLUDED = []
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def run(cls, app: str, version: str, is_experimental: bool = False) -> None:
|
def run(cls, app: str, version: str, is_experimental: bool = False) -> None:
|
||||||
logger.debug(f"Sending request to revanced cli for building {app} revanced")
|
logger.debug(f"Sending request to revanced cli for building {app} revanced")
|
||||||
@@ -364,6 +368,7 @@ def main() -> None:
|
|||||||
logger.debug(f"Excluded patches {excluded} for {app}")
|
logger.debug(f"Excluded patches {excluded} for {app}")
|
||||||
else:
|
else:
|
||||||
logger.debug(f"No excluded patches for {app}")
|
logger.debug(f"No excluded patches for {app}")
|
||||||
|
arg_parser.reset_excluded_patches()
|
||||||
|
|
||||||
def get_patches_version() -> Any:
|
def get_patches_version() -> Any:
|
||||||
experiment = False
|
experiment = False
|
||||||
|
|||||||
Reference in New Issue
Block a user