This commit is contained in:
Timothy Baldridge 2021-02-24 19:08:58 -07:00
parent 1a15329900
commit 4298c2a432
7 changed files with 20 additions and 12 deletions

View File

@ -1,5 +1,9 @@
### Changelog
#### Version - 2.4.2.5 - 2/24/2021
* HOTFIX: Fix a O(n*m) performance bug in compilation
* Add support for Enderal SSE
#### Version - 2.4.2.4 - 2/23/2021
* Reworked GDrive downloader for better compatability
* Ignore .cache files for realz

View File

@ -6,8 +6,8 @@
<AssemblyName>wabbajack-cli</AssemblyName>
<Company>Wabbajack</Company>
<Platforms>x64</Platforms>
<AssemblyVersion>2.4.2.4</AssemblyVersion>
<FileVersion>2.4.2.4</FileVersion>
<AssemblyVersion>2.4.2.5</AssemblyVersion>
<FileVersion>2.4.2.5</FileVersion>
<Copyright>Copyright © 2019-2020</Copyright>
<Description>An automated ModList installer</Description>
<PublishReadyToRun>true</PublishReadyToRun>

View File

@ -4,8 +4,8 @@
<OutputType>Exe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<AssemblyVersion>2.4.2.4</AssemblyVersion>
<FileVersion>2.4.2.4</FileVersion>
<AssemblyVersion>2.4.2.5</AssemblyVersion>
<FileVersion>2.4.2.5</FileVersion>
<Copyright>Copyright © 2019-2020</Copyright>
<Description>Wabbajack Application Launcher</Description>
<PublishReadyToRun>true</PublishReadyToRun>

View File

@ -10,7 +10,7 @@ namespace Wabbajack.Lib.CompilationSteps
{
public class IgnoreTaggedFolders : ACompilationStep
{
private readonly IEnumerable<AbsolutePath> _ignoreDirecrtory = new List<AbsolutePath>();
private readonly List<AbsolutePath> _ignoreDirecrtory;
private readonly string _tag;
private readonly ACompiler _aCompiler;
private readonly AbsolutePath _sourcePath;
@ -24,7 +24,9 @@ namespace Wabbajack.Lib.CompilationSteps
string rootDirectory = (string)_sourcePath;
_reason = $"Ignored because folder was tagged with {_tag}";
_ignoreDirecrtory = Directory.EnumerateFiles(rootDirectory, _tag, SearchOption.AllDirectories).Select(str => (AbsolutePath)str.Replace(_tag, ""));
_ignoreDirecrtory = Directory.EnumerateFiles(rootDirectory, _tag, SearchOption.AllDirectories)
.Select(str => (AbsolutePath)str.Replace(_tag, ""))
.ToList();
}
public override async ValueTask<Directive?> Run(RawSourceFile source)

View File

@ -10,7 +10,7 @@ namespace Wabbajack.Lib.CompilationSteps
{
public class IncludeTaggedFolders : ACompilationStep
{
private readonly IEnumerable<AbsolutePath> _includeDirectly = new List<AbsolutePath>();
private readonly List<AbsolutePath> _includeDirectly;
private readonly string _tag;
private readonly ACompiler _aCompiler;
private readonly AbsolutePath _sourcePath;
@ -22,7 +22,9 @@ namespace Wabbajack.Lib.CompilationSteps
_tag = tag;
string rootDirectory = (string)_sourcePath;
_includeDirectly = Directory.EnumerateFiles(rootDirectory, _tag, SearchOption.AllDirectories).Select(str => (AbsolutePath)str.Replace(_tag, ""));
_includeDirectly = Directory.EnumerateFiles(rootDirectory, _tag, SearchOption.AllDirectories)
.Select(str => (AbsolutePath)str.Replace(_tag, ""))
.ToList();
}

View File

@ -3,8 +3,8 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<AssemblyVersion>2.4.2.4</AssemblyVersion>
<FileVersion>2.4.2.4</FileVersion>
<AssemblyVersion>2.4.2.5</AssemblyVersion>
<FileVersion>2.4.2.5</FileVersion>
<Copyright>Copyright © 2019-2020</Copyright>
<Description>Wabbajack Server</Description>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>

View File

@ -6,8 +6,8 @@
<UseWPF>true</UseWPF>
<Platforms>x64</Platforms>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
<AssemblyVersion>2.4.2.4</AssemblyVersion>
<FileVersion>2.4.2.4</FileVersion>
<AssemblyVersion>2.4.2.5</AssemblyVersion>
<FileVersion>2.4.2.5</FileVersion>
<Copyright>Copyright © 2019-2020</Copyright>
<Description>An automated ModList installer</Description>
<PublishReadyToRun>true</PublishReadyToRun>