Update launche to new API
This commit is contained in:
6 files changed
+54
-27
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user