Added umu download and repair for missing components on install, update and manual repair.
This commit is contained in:
@@ -9,10 +9,16 @@ def main() -> int:
|
||||
arguments = sys.argv[1:]
|
||||
if not arguments or arguments == ["gui"]:
|
||||
from .paths import AppPaths
|
||||
from .ui import run_dashboard
|
||||
from .umu import provision_umu_for_startup
|
||||
|
||||
try:
|
||||
run_dashboard(AppPaths.from_environment())
|
||||
paths = AppPaths.from_environment()
|
||||
# Older installed releases cannot run a bootstrap step that only exists
|
||||
# in their update payload. Their automatic restart enters here instead.
|
||||
provision_umu_for_startup(paths)
|
||||
from .ui import run_dashboard
|
||||
|
||||
run_dashboard(paths)
|
||||
except KeyboardInterrupt:
|
||||
return 130
|
||||
except (ValueError, OSError, RuntimeError) as exc:
|
||||
|
||||
Reference in New Issue
Block a user