Regenerated

This commit is contained in:
henrov committed 2026-04-29 12:01:53 +02:00
1 parent f8ba6b9ca1
commit 3fd2ec4132
3 files changed
+410 -416

No files matched your search

+398 -400
View File
File diff suppressed because it is too large. Load diff
+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"
}
}
@@ -70,21 +70,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"
}
}