From cbfddd3d07a20b670ce68670207d6fbdce16532f Mon Sep 17 00:00:00 2001 From: Ionite Date: Mon, 17 Jul 2023 03:52:31 -0400 Subject: [PATCH] Create assets dir before extract --- StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs b/StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs index 51e2c204..2a5c88f8 100644 --- a/StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs +++ b/StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs @@ -56,7 +56,8 @@ public class UnixPrerequisiteHelper : IPrerequisiteHelper }; progress?.Report(new ProgressReport(0, message: "Unpacking resources", isIndeterminate: true)); - + + Directory.CreateDirectory(AssetsDir); foreach (var (assetUri, extractTo) in assets) { await Assets.ExtractAsset(assetUri, extractTo);