mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix download from IPS4 downloader
This commit is contained in:
parent
6ba00d9d09
commit
b9e241a0b9
@ -130,7 +130,7 @@ namespace Wabbajack.Lib.Downloaders
|
||||
throw new Exception(
|
||||
$"File {IPS4File} on mod {IPS4Mod} on {TypedDownloader.SiteName} appears to be re-uploaded with the same name");
|
||||
|
||||
var state = new HTTPDownloader.State(fileEntry.Url!) {Client = TypedDownloader.AuthedClient!};
|
||||
var state = new HTTPDownloader.State(fileEntry.Url!);
|
||||
if (a.Size == 0) a.Size = fileEntry.Size!.Value;
|
||||
return await state.Download(a, destination);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user