mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixed typo
This commit is contained in:
parent
61b91ad460
commit
03251804c1
@ -169,12 +169,12 @@ namespace Wabbajack.Lib
|
|||||||
{
|
{
|
||||||
Utils.LogStatus($"Generating zEdit merge: {m.To}");
|
Utils.LogStatus($"Generating zEdit merge: {m.To}");
|
||||||
|
|
||||||
var src_data = m.Sources.Select(s => File.ReadAllBytes(Path.Combine(installer.Outputfolder, s.RelativePath)))
|
var src_data = m.Sources.Select(s => File.ReadAllBytes(Path.Combine(installer.OutputFolder, s.RelativePath)))
|
||||||
.ConcatArrays();
|
.ConcatArrays();
|
||||||
|
|
||||||
var patch_data = installer.LoadBytesFromPath(m.PatchID);
|
var patch_data = installer.LoadBytesFromPath(m.PatchID);
|
||||||
|
|
||||||
using (var fs = File.OpenWrite(Path.Combine(installer.Outputfolder, m.To)))
|
using (var fs = File.OpenWrite(Path.Combine(installer.OutputFolder, m.To)))
|
||||||
BSDiff.Apply(new MemoryStream(src_data), () => new MemoryStream(patch_data), fs);
|
BSDiff.Apply(new MemoryStream(src_data), () => new MemoryStream(patch_data), fs);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user