From b88751d8252ecc2104ec0ccae85a7b845c5b97cd Mon Sep 17 00:00:00 2001 From: Matt <97983689+bluepilledgreat@users.noreply.github.com> Date: Thu, 5 Dec 2024 13:27:06 +0000 Subject: [PATCH] fix exported zips being corrupted (#3901) --- Bloxstrap/UI/ViewModels/Settings/BloxstrapViewModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Bloxstrap/UI/ViewModels/Settings/BloxstrapViewModel.cs b/Bloxstrap/UI/ViewModels/Settings/BloxstrapViewModel.cs index 016f69f..63ce62f 100644 --- a/Bloxstrap/UI/ViewModels/Settings/BloxstrapViewModel.cs +++ b/Bloxstrap/UI/ViewModels/Settings/BloxstrapViewModel.cs @@ -62,6 +62,7 @@ namespace Bloxstrap.UI.ViewModels.Settings } zipStream.CloseEntry(); + zipStream.Finish(); memStream.Position = 0; using var outputStream = File.OpenWrite(dialog.FileName);