mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
2.5.0.5
This commit is contained in:
parent
c8d4e3651c
commit
89404a9b03
@ -1,5 +1,9 @@
|
||||
### Changelog
|
||||
|
||||
#### Version - 2.5.0.5 - 6/28/2021
|
||||
* Fix another NPE on texture matching
|
||||
* Better logging on bad calls to IPS4 sites
|
||||
|
||||
#### Version - 2.5.0.4 - 6/27/2021
|
||||
* Fix for NPE in Texture analysis compiler step
|
||||
* Implemented attachment support in IPS4 sites
|
||||
|
@ -2,7 +2,7 @@
|
||||
"profiles": {
|
||||
"Wabbajack.CLI": {
|
||||
"commandName": "Project",
|
||||
"commandLineArgs": "download-from-meta -m c:\\tmp\\test.meta -o c:\\tmp\\out.7z"
|
||||
"commandLineArgs": "download-from-meta -m \"c:\\tmp\\test (2).meta\" -o c:\\tmp\\out.7z"
|
||||
}
|
||||
}
|
||||
}
|
@ -6,8 +6,8 @@
|
||||
<AssemblyName>wabbajack-cli</AssemblyName>
|
||||
<Company>Wabbajack</Company>
|
||||
<Platforms>x64</Platforms>
|
||||
<AssemblyVersion>2.5.0.4</AssemblyVersion>
|
||||
<FileVersion>2.5.0.4</FileVersion>
|
||||
<AssemblyVersion>2.5.0.5</AssemblyVersion>
|
||||
<FileVersion>2.5.0.5</FileVersion>
|
||||
<Copyright>Copyright © 2019-2020</Copyright>
|
||||
<Description>An automated ModList installer</Description>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
|
@ -4,8 +4,8 @@
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<UseWPF>true</UseWPF>
|
||||
<AssemblyVersion>2.5.0.4</AssemblyVersion>
|
||||
<FileVersion>2.5.0.4</FileVersion>
|
||||
<AssemblyVersion>2.5.0.5</AssemblyVersion>
|
||||
<FileVersion>2.5.0.5</FileVersion>
|
||||
<Copyright>Copyright © 2019-2020</Copyright>
|
||||
<Description>Wabbajack Application Launcher</Description>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
|
@ -22,7 +22,7 @@ namespace Wabbajack.Lib.CompilationSteps
|
||||
|
||||
public override async ValueTask<Directive?> Run(RawSourceFile source)
|
||||
{
|
||||
if (source.Path.Extension == DDS)
|
||||
if (source.Path.Extension == DDS && source.File.ImageState != null)
|
||||
{
|
||||
var found = _byName[source.Path.FileNameWithoutExtension]
|
||||
.Select(f => (f.ImageState.PerceptualHash.Similarity(source.File.ImageState.PerceptualHash), f))
|
||||
|
@ -13,6 +13,7 @@ using F23.StringSimilarity;
|
||||
using Newtonsoft.Json;
|
||||
using ReactiveUI;
|
||||
using Wabbajack.Common;
|
||||
using Wabbajack.Common.Exceptions;
|
||||
using Wabbajack.Common.Serialization.Json;
|
||||
using Wabbajack.Lib.Downloaders.DTOs;
|
||||
using Wabbajack.Lib.Http;
|
||||
@ -93,8 +94,24 @@ namespace Wabbajack.Lib.Downloaders
|
||||
|
||||
public async Task<IPS4OAuthFilesResponse.Root> GetDownloads(long modID)
|
||||
{
|
||||
var responseString = await (await GetAuthedClient())!.GetStringAsync(SiteURL+ $"api/downloads/files/{modID}") ;
|
||||
return responseString.FromJsonString<IPS4OAuthFilesResponse.Root>();
|
||||
var url = SiteURL + $"api/downloads/files/{modID}";
|
||||
var client = await GetAuthedClient();
|
||||
using var response = await client!.GetAsync(url, HttpCompletionOption.ResponseHeadersRead, errorsAsExceptions: false);
|
||||
string body = "";
|
||||
try
|
||||
{
|
||||
body = await response.Content.ReadAsStringAsync();
|
||||
}
|
||||
catch (Exception _)
|
||||
{
|
||||
// ignored
|
||||
}
|
||||
|
||||
if (response.IsSuccessStatusCode)
|
||||
return body.FromJsonString<IPS4OAuthFilesResponse.Root>();
|
||||
|
||||
Utils.Log($"IPS4 Request Error {response.StatusCode} {response.ReasonPhrase} - \n {url} \n {body}");
|
||||
throw new HttpException(response);
|
||||
}
|
||||
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<AssemblyVersion>2.5.0.4</AssemblyVersion>
|
||||
<FileVersion>2.5.0.4</FileVersion>
|
||||
<AssemblyVersion>2.5.0.5</AssemblyVersion>
|
||||
<FileVersion>2.5.0.5</FileVersion>
|
||||
<Copyright>Copyright © 2019-2020</Copyright>
|
||||
<Description>Wabbajack Server</Description>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
|
@ -6,8 +6,8 @@
|
||||
<UseWPF>true</UseWPF>
|
||||
<Platforms>x64</Platforms>
|
||||
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
|
||||
<AssemblyVersion>2.5.0.4</AssemblyVersion>
|
||||
<FileVersion>2.5.0.4</FileVersion>
|
||||
<AssemblyVersion>2.5.0.5</AssemblyVersion>
|
||||
<FileVersion>2.5.0.5</FileVersion>
|
||||
<Copyright>Copyright © 2019-2020</Copyright>
|
||||
<Description>An automated ModList installer</Description>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
|
Loading…
Reference in New Issue
Block a user