mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
few pre-release fixes
This commit is contained in:
parent
2ce0484680
commit
b272f9edcd
@ -8,6 +8,7 @@
|
||||
* Fixed Regression with CloudFront IPS4 sites not requesting logins before installation
|
||||
* Fixed regression that caused us to spam the Nexus with verify calls
|
||||
* Further fixes for IPS4 sites
|
||||
* Optimized download folder hashing by only hashing files that match a specific size (thanks Unnoen!)
|
||||
|
||||
#### Version - 2.3.6.2 - 12/31/2020
|
||||
* HOTFIX: Also apply the IPS4 changes to LL Meta lookups
|
||||
|
@ -217,7 +217,10 @@ namespace Wabbajack.Lib.Downloaders
|
||||
{
|
||||
try
|
||||
{
|
||||
var client = DownloadDispatcher.GetInstance<NexusDownloader>().Client!;
|
||||
var nclient = DownloadDispatcher.GetInstance<NexusDownloader>();
|
||||
await nclient.Prepare();
|
||||
var client = nclient.Client!;
|
||||
|
||||
var modInfo = await client.GetModInfo(Game, ModID);
|
||||
if (!modInfo.available) return false;
|
||||
var modFiles = await client.GetModFiles(Game, ModID);
|
||||
|
@ -79,6 +79,7 @@ namespace Wabbajack.Server.Services
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError(ex, $"During Validation of {archive.Hash} {archive.State.PrimaryKeyString}");
|
||||
Utils.Log($"Exception in validation of {archive.Hash} {archive.State.PrimaryKeyString} " + ex);
|
||||
return (archive, ArchiveStatus.InValid);
|
||||
}
|
||||
finally
|
||||
@ -316,6 +317,8 @@ namespace Wabbajack.Server.Services
|
||||
return (archive, ArchiveStatus.Valid);
|
||||
case ModDBDownloader.State _:
|
||||
return (archive, ArchiveStatus.Valid);
|
||||
case GameFileSourceDownloader.State _:
|
||||
return (archive, ArchiveStatus.Valid);
|
||||
case MediaFireDownloader.State _:
|
||||
return (archive, ArchiveStatus.Valid);
|
||||
default:
|
||||
@ -363,8 +366,9 @@ namespace Wabbajack.Server.Services
|
||||
{
|
||||
mod = await nexusClient.GetModInfo(ns.Game, ns.ModID, false);
|
||||
}
|
||||
catch
|
||||
catch (Exception ex)
|
||||
{
|
||||
Utils.Log("Exception in Nexus Validation " + ex);
|
||||
mod = new ModInfo
|
||||
{
|
||||
mod_id = ns.ModID.ToString(),
|
||||
|
Loading…
Reference in New Issue
Block a user