mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
3.0.1.4
This commit is contained in:
parent
801f655ef3
commit
592b48e6a3
@ -1,5 +1,8 @@
|
||||
### Changelog
|
||||
|
||||
#### Version - 3.0.1.4 - 9/21/2022
|
||||
* Fix several of case sensitive path comparisons, that could result in deleting downloads
|
||||
|
||||
#### Version - 3.0.1.3 - 9/20/2022
|
||||
* Auto-include splash.png files when compiling
|
||||
* Fix support for `WABBAJACK_NOMATCH_INCLUDE_FILES.txt` and other variants
|
||||
|
@ -140,7 +140,7 @@ public struct AbsolutePath : IPath, IComparable<AbsolutePath>, IEquatable<Absolu
|
||||
|
||||
public RelativePath RelativeTo(AbsolutePath basePath)
|
||||
{
|
||||
if (!ArrayExtensions.AreEqual(basePath.Parts, 0, Parts, 0, basePath.Parts.Length))
|
||||
if (!ArrayExtensions.AreEqualIgnoreCase(basePath.Parts, 0, Parts, 0, basePath.Parts.Length))
|
||||
throw new PathException($"{basePath} is not a base path of {this}");
|
||||
|
||||
var newParts = new string[Parts.Length - basePath.Parts.Length];
|
||||
@ -150,7 +150,7 @@ public struct AbsolutePath : IPath, IComparable<AbsolutePath>, IEquatable<Absolu
|
||||
|
||||
public bool InFolder(AbsolutePath parent)
|
||||
{
|
||||
return ArrayExtensions.AreEqual(parent.Parts, 0, Parts, 0, parent.Parts.Length);
|
||||
return ArrayExtensions.AreEqualIgnoreCase(parent.Parts, 0, Parts, 0, parent.Parts.Length);
|
||||
}
|
||||
|
||||
public AbsolutePath Combine(params object[] paths)
|
||||
|
Loading…
Reference in New Issue
Block a user