Fixed path with whitespace in archive not being extracted

This commit is contained in:
erri120 2020-04-27 13:06:57 +02:00
parent 9b71e1b644
commit b1011bd63e
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

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();