mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Add whitespace stripping string to the regex match for [NoDelete] to idiot proof (#2364)
* add whitespace stripping string to the regex match to idiot proof * updated changelog
This commit is contained in:
parent
b0a2058c19
commit
2e5d91f46d
@ -6,6 +6,8 @@
|
|||||||
* Added a check if Downloadpath is alongside Wabbajack.exe location, to match the install path check that already exists
|
* Added a check if Downloadpath is alongside Wabbajack.exe location, to match the install path check that already exists
|
||||||
* Added check for identical download and install paths
|
* Added check for identical download and install paths
|
||||||
|
|
||||||
|
* Fixed No Delete and NoDelete being handled by stripping whitespace before the regex, to idiotproof things a bit
|
||||||
|
|
||||||
#### Version - 3.1.0.0 - 5/7/2023
|
#### Version - 3.1.0.0 - 5/7/2023
|
||||||
* Fixed Readme opening twice
|
* Fixed Readme opening twice
|
||||||
* Updated Text in the UI to better describe current app behavior
|
* Updated Text in the UI to better describe current app behavior
|
||||||
|
@ -534,8 +534,8 @@ public abstract class AInstaller<T>
|
|||||||
return f;
|
return f;
|
||||||
|
|
||||||
if (f.InFolder(profileFolder) && f.Parent.FileName == savePath) return f;
|
if (f.InFolder(profileFolder) && f.Parent.FileName == savePath) return f;
|
||||||
|
var fNoSpaces = new string(f.ToString().Where(c => !Char.IsWhiteSpace(c)).ToArray());
|
||||||
if (NoDeleteRegex.IsMatch(f.ToString()))
|
if (NoDeleteRegex.IsMatch(fNoSpaces))
|
||||||
return f;
|
return f;
|
||||||
|
|
||||||
if (bsaPathsToNotBuild.Contains(f))
|
if (bsaPathsToNotBuild.Contains(f))
|
||||||
|
Loading…
Reference in New Issue
Block a user