Merge pull request #765 from erri120/whitespace-extraction-fix

Fixed path with whitespace in archive not being extracted
This commit is contained in:
Timothy Baldridge 2020-04-27 06:04:25 -06:00 committed by GitHub
commit e9586c38ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,8 +142,8 @@ namespace Wabbajack.VirtualFileSystem
//It's stupid that we have to do this, but 7zip's file pattern matching isn't very fuzzy
IEnumerable<string> AllVariants(string input)
{
yield return input;
yield return "\\" + input;
yield return $"\"{input}\"";
yield return $"\"\\{input}\"";
}
tmpFile = new TempFile();