fix(ui): Applying got stuck: the ticked items came in as a JS value

Convert QML's array; if starting fails anyway, show the done screen with
the reason instead of staying on the progress screen.
This commit is contained in:
theupriser committed 2026-09-25 15:56:41 +02:00
1 parent 0c99ba325d
commit fdb49f2503
2 files changed
+15 -7

No files matched your search

+1 -1
View File
@@ -225,7 +225,7 @@ ApplicationWindow {
else if (ev.event === "finished") {
if (!(biosRun && plan.length && plan[0].action === "check" && !ev.failed.length && !ev.error && !ev.nothing)) sessionPassword = "";
failed = ev.failed || []; restartNeeded = !!ev.restart;
runError = ev.error === "wrong-password" ? "The password didn't work." : (ev.error ? "sudo isn't available." : "");
runError = ev.error === "wrong-password" ? "The password didn't work." : (ev.error === "start" ? "Steamify couldn't start the changes." : (ev.error ? "sudo isn't available." : ""));
screen = "done";
}
}