Add auto detect java installation support.
This commit is contained in:
1 parent
bd5a1e8974
commit
425f740d8f
9 files changed
+546
-200
No files matched your search
@@ -308,8 +308,8 @@ def handle_runtime_dir_and_executable_process(dirs: list[Path], executables: lis
|
||||
def download_java_runtimes(component: str, runtime_dir: Path, no_hash_check: bool = False,
|
||||
progress_callback: Callable[[str, float], None] = None,
|
||||
redownload_callback: Callable[[list[FileObject]], tuple[bool, list[FileObject]]] = None,
|
||||
max_download_workers=RUNTIME_CHECK_MAX_WORKERS,
|
||||
max_check_workers=RUNTIME_DOWNLOAD_MAX_WORKERS) -> None:
|
||||
max_download_workers=RUNTIME_DOWNLOAD_MAX_WORKERS,
|
||||
max_check_workers=RUNTIME_CHECK_MAX_WORKERS) -> None:
|
||||
"""
|
||||
Download runtime files from given component.
|
||||
:param component: Target component of the java runtime (e.g. java-runtime-alpha, java-runtime-beta)
|
||||
|
||||
Reference in new issue
Block a user