Added umu download and repair for missing components on install, update and manual repair.
This commit is contained in:
@@ -213,7 +213,7 @@ def inspect_login_environment(
|
||||
)
|
||||
runtime_requested = runtime_override or settings.runtime
|
||||
diagnostic_settings = replace(settings, runtime=runtime_requested)
|
||||
selection, runtime_error = _runtime_selection(diagnostic_settings)
|
||||
selection, runtime_error = _runtime_selection(paths, diagnostic_settings)
|
||||
distribution_id = detect_distribution_id() or "unknown"
|
||||
kernel_release = platform.release()
|
||||
proton_sync_effective = (
|
||||
@@ -476,9 +476,12 @@ def _active_game_root(paths: AppPaths) -> Path:
|
||||
return paths.source_game
|
||||
|
||||
|
||||
def _runtime_selection(settings: Settings) -> tuple[RuntimeSelection | None, str | None]:
|
||||
def _runtime_selection(
|
||||
paths: AppPaths,
|
||||
settings: Settings,
|
||||
) -> tuple[RuntimeSelection | None, str | None]:
|
||||
try:
|
||||
return select_runtime(settings), None
|
||||
return select_runtime(settings, paths=paths), None
|
||||
except RuntimeError as exc:
|
||||
return None, str(exc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user