mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix list validation some more
This commit is contained in:
parent
9154463b76
commit
fc45191438
@ -187,13 +187,7 @@ public class ValidateLists
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var downloader = _dispatcher.Downloader(archive);
|
||||
if (downloader is IProxyable proxyable)
|
||||
{
|
||||
_proxyableFiles.Add((proxyable.UnParse(archive.State), archive.Hash));
|
||||
}
|
||||
|
||||
|
||||
return new ValidatedArchive
|
||||
{
|
||||
Status = ArchiveStatus.InValid,
|
||||
@ -201,6 +195,15 @@ public class ValidateLists
|
||||
};
|
||||
}).ToArray();
|
||||
|
||||
foreach (var archive in archives)
|
||||
{
|
||||
var downloader = _dispatcher.Downloader(archive.Original);
|
||||
if (downloader is IProxyable proxyable)
|
||||
{
|
||||
_proxyableFiles.Add((proxyable.UnParse(archive.Original.State), archive.Original.Hash));
|
||||
}
|
||||
}
|
||||
|
||||
validatedList.Archives = archives;
|
||||
validatedList.Status = archives.Any(a => a.Status == ArchiveStatus.InValid)
|
||||
? ListStatus.Failed
|
||||
|
Loading…
Reference in New Issue
Block a user