mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
request a link rather than info from the nexus during compilation to handle missing files
This commit is contained in:
parent
b9a10d5f1e
commit
206a1c9039
@ -267,21 +267,6 @@ namespace Wabbajack
|
||||
return result;
|
||||
}, false);
|
||||
|
||||
/*
|
||||
using (var a = ArchiveFactory.Open(archive.AbsolutePath))
|
||||
{
|
||||
foreach (var entry in a.Entries)
|
||||
{
|
||||
var path = entry.Key.Replace("/", "\\");
|
||||
if (!paths.Contains(path)) continue;
|
||||
var result = new MemoryStream();
|
||||
streams.Add(path, result);
|
||||
Info("Extracting {0}", path);
|
||||
using (var stream = entry.OpenEntryStream())
|
||||
stream.CopyTo(result);
|
||||
}
|
||||
}*/
|
||||
|
||||
var extracted = streams.ToDictionary(k => k.Key, v => v.Value.ToArray());
|
||||
// Now Create the patches
|
||||
Status("Building Patches for {0}", archive.Name);
|
||||
@ -358,7 +343,7 @@ namespace Wabbajack
|
||||
Status($"Getting Nexus info for {found.Name}");
|
||||
try
|
||||
{
|
||||
var info = NexusAPI.GetFileInfo((NexusMod)result, NexusKey);
|
||||
var link = NexusAPI.GetNexusDownloadLink((NexusMod)result, NexusKey);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user