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
@ -188,12 +188,6 @@ public class ValidateLists
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var downloader = _dispatcher.Downloader(archive);
|
|
||||||
if (downloader is IProxyable proxyable)
|
|
||||||
{
|
|
||||||
_proxyableFiles.Add((proxyable.UnParse(archive.State), archive.Hash));
|
|
||||||
}
|
|
||||||
|
|
||||||
return new ValidatedArchive
|
return new ValidatedArchive
|
||||||
{
|
{
|
||||||
Status = ArchiveStatus.InValid,
|
Status = ArchiveStatus.InValid,
|
||||||
@ -201,6 +195,15 @@ public class ValidateLists
|
|||||||
};
|
};
|
||||||
}).ToArray();
|
}).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.Archives = archives;
|
||||||
validatedList.Status = archives.Any(a => a.Status == ArchiveStatus.InValid)
|
validatedList.Status = archives.Any(a => a.Status == ArchiveStatus.InValid)
|
||||||
? ListStatus.Failed
|
? ListStatus.Failed
|
||||||
|
Loading…
Reference in New Issue
Block a user