add speed for download

This commit is contained in:
Lncvrt committed 2025-11-05 12:21:42 -07:00
1 parent 129259cb74
commit 0b2e26470d
3 files changed
+16 -4

No files matched your search

+4 -1
View File
@@ -168,7 +168,10 @@ async fn download(
app.emit(
"download-progress",
format!("{}:{:.8}:{}:{:.2}", &name, progress, downloaded, eta_secs),
format!(
"{}:{:.8}:{}:{}:{:.2}",
&name, progress, downloaded, speed, eta_secs
),
)
.unwrap();
}