This commit is contained in:
2023-10-28 10:38:26 +02:00
parent 062e07aa98
commit c320058af3

View File

@@ -141,7 +141,7 @@ func (p *Process) Start() {
go func() {
rx.Sample(time.Millisecond*500, sourceChan, doneChan, func(event []byte) {
stdout := ProgressTemplate{}
err := json.Unmarshal(scan.Bytes(), &stdout)
err := json.Unmarshal(event, &stdout)
if err == nil {
p.Progress = DownloadProgress{
Status: StatusDownloading,