mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-24 19:38:36 +09:00
🎨 Moved extra downloader to download class
This commit is contained in:
committed by
Nikhil Badyal
parent
2d15330df3
commit
e2de08fee3
@@ -6,10 +6,11 @@ from loguru import logger
|
||||
|
||||
from src.app import APP
|
||||
from src.config import RevancedConfig
|
||||
from src.downloader.download import Downloader
|
||||
from src.exceptions import AppNotFoundError, BuilderError, PatchesJsonLoadError, PatchingFailedError
|
||||
from src.parser import Parser
|
||||
from src.patches import Patches
|
||||
from src.utils import check_java, extra_downloads
|
||||
from src.utils import check_java
|
||||
|
||||
|
||||
def get_app(config: RevancedConfig, app_name: str) -> APP:
|
||||
@@ -24,7 +25,7 @@ def main() -> None:
|
||||
env = Env()
|
||||
env.read_env()
|
||||
config = RevancedConfig(env)
|
||||
extra_downloads(config)
|
||||
Downloader.extra_downloads(config)
|
||||
if not config.dry_run:
|
||||
check_java()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user