list item update working with swiftdialog Alpha 1.12.0.3169

This commit is contained in:
Armin Briegel
2022-08-01 08:39:03 +02:00
parent 720128f23a
commit 4905091908
2 changed files with 9 additions and 5 deletions

View File

@@ -916,8 +916,12 @@ readDownloadPipe() {
fi
if [[ $char == % ]]; then
updateDialogProgressText "Downloading $name - $progress%"
updateDialogProgress "$progress"
if [[ $DIALOG_PROGRESS == "main" ]]; then
updateDialogProgressText "Downloading $name - $progress%"
updateDialogProgress "$progress"
elif [[ $DIALOG_PROGRESS == "list" ]]; then
echo "listitem: title: $name, statustext: Downloading... $progress%, progress: $progress" >> $log
fi
progress=""
keep=0
fi