Browse Source

Create assets dir before extract

pull/55/head
Ionite 1 year ago
parent
commit
cbfddd3d07
No known key found for this signature in database
  1. 1
      StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs

1
StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs

@ -57,6 +57,7 @@ public class UnixPrerequisiteHelper : IPrerequisiteHelper
progress?.Report(new ProgressReport(0, message: "Unpacking resources", isIndeterminate: true)); progress?.Report(new ProgressReport(0, message: "Unpacking resources", isIndeterminate: true));
Directory.CreateDirectory(AssetsDir);
foreach (var (assetUri, extractTo) in assets) foreach (var (assetUri, extractTo) in assets)
{ {
await Assets.ExtractAsset(assetUri, extractTo); await Assets.ExtractAsset(assetUri, extractTo);

Loading…
Cancel
Save