mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix MEGA status percentage
This commit is contained in:
parent
011f680890
commit
d608df5074
@ -175,7 +175,9 @@ namespace Wabbajack.Lib.Downloaders
|
||||
|
||||
var fileLink = new Uri(Url);
|
||||
Utils.Status($"Downloading MEGA file: {a.Name}");
|
||||
await MegaApiClient.DownloadFileAsync(fileLink, (string)destination, new Progress<double>(p => Utils.Status($"Downloading MEGA File: {a.Name}", Percent.FactoryPutInRange(p))));
|
||||
await MegaApiClient.DownloadFileAsync(fileLink, (string)destination, new Progress<double>(p =>
|
||||
Utils.Status($"Downloading MEGA File: {a.Name}", Percent.FactoryPutInRange(p / 100d))
|
||||
));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user