Merge pull request #552 from wabbajack-tools/beth-net-fixes

Fix a few bugs with Bethesda.NET downloading
This commit is contained in:
Timothy Baldridge 2020-02-19 20:50:42 -07:00 committed by GitHub
commit e86113fb49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -29,7 +29,8 @@ namespace Wabbajack.Lib
typeof(BA2FileEntryState), typeof(MediaFireDownloader.State), typeof(ArchiveMeta), typeof(BA2FileEntryState), typeof(MediaFireDownloader.State), typeof(ArchiveMeta),
typeof(PropertyFile), typeof(SteamMeta), typeof(SteamWorkshopDownloader), typeof(SteamWorkshopDownloader.State), typeof(PropertyFile), typeof(SteamMeta), typeof(SteamWorkshopDownloader), typeof(SteamWorkshopDownloader.State),
typeof(LoversLabDownloader.State), typeof(GameFileSourceDownloader.State), typeof(VectorPlexusDownloader.State), typeof(LoversLabDownloader.State), typeof(GameFileSourceDownloader.State), typeof(VectorPlexusDownloader.State),
typeof(DeadlyStreamDownloader.State), typeof(AFKModsDownloader.State), typeof(TESAllianceDownloader.State) typeof(DeadlyStreamDownloader.State), typeof(AFKModsDownloader.State), typeof(TESAllianceDownloader.State),
typeof(BethesdaNetDownloader.State)
}, },
}; };
Config.VersionTolerance.Mode = VersionToleranceMode.Standard; Config.VersionTolerance.Mode = VersionToleranceMode.Standard;

View File

@ -131,7 +131,7 @@ namespace Wabbajack.Lib
if (Directory.Exists(ModListOutputFolder)) if (Directory.Exists(ModListOutputFolder))
Utils.DeleteDirectory(ModListOutputFolder); Utils.DeleteDirectory(ModListOutputFolder);
/*
if (cancel.IsCancellationRequested) return false; if (cancel.IsCancellationRequested) return false;
UpdateTracker.NextStep("Inferring metas for game file downloads"); UpdateTracker.NextStep("Inferring metas for game file downloads");
await InferMetas(); await InferMetas();
@ -139,8 +139,8 @@ namespace Wabbajack.Lib
if (cancel.IsCancellationRequested) return false; if (cancel.IsCancellationRequested) return false;
UpdateTracker.NextStep("Reindexing downloads after meta inferring"); UpdateTracker.NextStep("Reindexing downloads after meta inferring");
await VFS.AddRoot(MO2DownloadsFolder); await VFS.AddRoot(MO2DownloadsFolder);
await VFS.WriteToFile(_vfsCacheName); await VFS.WriteToFile(VFSCacheName);
*/
if (cancel.IsCancellationRequested) return false; if (cancel.IsCancellationRequested) return false;
UpdateTracker.NextStep("Pre-validating Archives"); UpdateTracker.NextStep("Pre-validating Archives");