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. 3
      StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs

3
StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs

@ -56,7 +56,8 @@ 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