From 2297e4d59828154bd7587936aa4bc161a929d0e2 Mon Sep 17 00:00:00 2001 From: Ionite Date: Wed, 27 Sep 2023 17:43:56 -0400 Subject: [PATCH] Create update temp folder as hidden --- StabilityMatrix.Core/Updater/UpdateHelper.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/StabilityMatrix.Core/Updater/UpdateHelper.cs b/StabilityMatrix.Core/Updater/UpdateHelper.cs index 97cb25a5..401736c1 100644 --- a/StabilityMatrix.Core/Updater/UpdateHelper.cs +++ b/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