Skip to content

Commit

Permalink
Another fix to the proxyable file format
Browse files Browse the repository at this point in the history
  • Loading branch information
halgari committed Oct 31, 2023
1 parent fc45191 commit 7baf3d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Wabbajack.CLI/Verbs/ValidateLists.cs
Original file line number Diff line number Diff line change
Expand Up @@ -564,10 +564,11 @@ await _discord.SendAsync(Channel.Ham,

await using var proxyFile = reports.Combine("proxyable.txt")
.Open(FileMode.Create, FileAccess.Write, FileShare.None);
await using var tw = new StreamWriter(proxyFile);
foreach (var file in _proxyableFiles)
{
var str = $"{file.Item1}#name={file.Item2.ToHex()}";
await proxyFile.WriteAsync(Encoding.UTF8.GetBytes(str), token);
await tw.WriteLineAsync(str);
}
}

Expand Down

0 comments on commit 7baf3d5

Please sign in to comment.