Browse Source

Create update temp folder as hidden

pull/165/head
Ionite 1 year ago
parent
commit
2297e4d598
No known key found for this signature in database
  1. 3
      StabilityMatrix.Core/Updater/UpdateHelper.cs

3
StabilityMatrix.Core/Updater/UpdateHelper.cs

@ -57,7 +57,8 @@ public class UpdateHelper : IUpdateHelper
{
var downloadUrl = updateInfo.DownloadUrl;
Directory.CreateDirectory(UpdateFolder);
UpdateFolder.Create();
UpdateFolder.Info.Attributes |= FileAttributes.Hidden;
// download the file from URL
await downloadService

Loading…
Cancel
Save