Fix broken ESM cleaning

This commit is contained in:
Timothy Baldridge 2019-10-01 21:07:26 -06:00
parent fd8bbe69bd
commit 44d5e31f5d
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,8 @@
* Modlists are now .zip files.
* Modlists now end with `.modlist_v1` to enable better version control
* If `readme.md` is found in the profile directory, inline it into the install report.
* Fix bug with null uri in slideshow images
* Fix bug with null uri in slideshow images
* Fix bug in CleanedESM generation
#### Version 0.9.3 - 9/30/2019
* Add WABBAJACK_NOMATCH_INCLUDE works like WABBAJACK_INCLUDE but only includes files that are found to be missing at the end of compilation

View File

@ -712,7 +712,7 @@ namespace Wabbajack
using (var ms = new MemoryStream())
{
Utils.CreatePatch(File.ReadAllBytes(game_file), File.ReadAllBytes(source.AbsolutePath), ms);
var data = ms.ToArray().ToBase64();
var data = ms.ToArray();
result.SourceDataID = IncludeFile(data);
Info($"Generated a {data.Length} byte patch for {filename}");