Update launche to new API

This commit is contained in:
Lncvrt committed 2026-02-26 23:22:16 -07:00
1 parent e066dd0681
commit 19788a8a3c
6 files changed
+54 -27

No files matched your search

+1
View File
@@ -139,6 +139,7 @@ async fn download(
}
};
let total_size = resp.content_length().unwrap_or(0);
let _ = app.emit("download-size", format!("{}:{}", &name, &total_size));
let mut downloaded: u64 = 0;
let mut stream = resp.bytes_stream();