mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Another fix to the proxyable file format
This commit is contained in:
parent
fc45191438
commit
7baf3d5d12
@ -564,10 +564,11 @@ public class ValidateLists
|
|||||||
|
|
||||||
await using var proxyFile = reports.Combine("proxyable.txt")
|
await using var proxyFile = reports.Combine("proxyable.txt")
|
||||||
.Open(FileMode.Create, FileAccess.Write, FileShare.None);
|
.Open(FileMode.Create, FileAccess.Write, FileShare.None);
|
||||||
|
await using var tw = new StreamWriter(proxyFile);
|
||||||
foreach (var file in _proxyableFiles)
|
foreach (var file in _proxyableFiles)
|
||||||
{
|
{
|
||||||
var str = $"{file.Item1}#name={file.Item2.ToHex()}";
|
var str = $"{file.Item1}#name={file.Item2.ToHex()}";
|
||||||
await proxyFile.WriteAsync(Encoding.UTF8.GetBytes(str), token);
|
await tw.WriteLineAsync(str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user