From 3fa30b5979975c40db74ff7501711375b8b41c30 Mon Sep 17 00:00:00 2001 From: Marlon Date: Tue, 11 Jun 2024 02:10:18 +0200 Subject: [PATCH] fix --- FModel/ViewModels/ApplicationViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FModel/ViewModels/ApplicationViewModel.cs b/FModel/ViewModels/ApplicationViewModel.cs index 3e5bef8f..1d314969 100644 --- a/FModel/ViewModels/ApplicationViewModel.cs +++ b/FModel/ViewModels/ApplicationViewModel.cs @@ -208,7 +208,7 @@ public class ApplicationViewModel : ViewModel foreach (var entry in zip.Entries) { var entryPath = Path.Combine(zipDir, entry.FullName); - await using var entryFs = File.OpenRead(entryPath); + await using var entryFs = File.Create(entryPath); await using var entryStream = entry.Open(); await entryStream.CopyToAsync(entryFs); }