Regenerated

This commit is contained in:
2026-04-29 12:01:53 +02:00
parent f8ba6b9ca1
commit 3fd2ec4132
3 changed files with 410 additions and 416 deletions
+6 -8
View File
@@ -3741,21 +3741,19 @@ Window {
id: updater
command: ["bash", "/home/henrov/.config/scripts/update-engine.sh"]
onStdout: function(data) {
let line = data.trim()
onOutput: function(data) {
logModel.append({ text: data.trim() })
logModel.append({ text: line })
if (line.startsWith("STEP:")) {
let parts = line.split(":")
if (data.startsWith("STEP:")) {
let parts = data.split(":")
root.currentStep = parseInt(parts[1])
}
if (line.startsWith("DONE")) {
if (data.startsWith("DONE")) {
root.status = "done"
}
if (line.startsWith("FAIL")) {
if (data.startsWith("FAIL")) {
root.status = "error"
}
}