Prefix 7zip path names with a slash

This commit is contained in:
Timothy Baldridge 2020-04-16 22:39:49 -06:00
parent bb9ef89dee
commit fb8a56aedb

View File

@ -140,7 +140,7 @@ namespace Wabbajack.VirtualFileSystem
if (onlyFiles != null)
{
tmpFile = new TempFile();
await tmpFile.Path.WriteAllLinesAsync(onlyFiles.Select(f => (string)f).ToArray());
await tmpFile.Path.WriteAllLinesAsync(onlyFiles.Select(f => "\\"+(string)f).ToArray());
process.Arguments = new object[]
{
"x", "-bsp1", "-y", $"-o\"{dest.Dir}\"", source, $"@\"{tmpFile.Path}\"", "-mmt=off"