Added umu download and repair for missing components on install, update and manual repair.
This commit is contained in:
@@ -65,7 +65,7 @@ def inspect_runtime_debug(
|
||||
paths: AppPaths,
|
||||
settings: Settings,
|
||||
*,
|
||||
selector: RuntimeSelector = select_runtime,
|
||||
selector: RuntimeSelector | None = None,
|
||||
sync_resolver: SyncResolver = resolve_proton_sync_mode,
|
||||
) -> RuntimeDebugInfo:
|
||||
"""Resolve the next runtime and compare it with the preparation marker."""
|
||||
@@ -85,7 +85,11 @@ def inspect_runtime_debug(
|
||||
selection: RuntimeSelection | None = None
|
||||
error: str | None = None
|
||||
try:
|
||||
selection = selector(settings)
|
||||
selection = (
|
||||
select_runtime(settings, paths=paths)
|
||||
if selector is None
|
||||
else selector(settings)
|
||||
)
|
||||
except (OSError, RuntimeErrorPT, ValueError) as exc:
|
||||
error = str(exc).strip() or type(exc).__name__
|
||||
selected_kind = selection.kind if selection is not None else None
|
||||
|
||||
Reference in New Issue
Block a user