From 3c808165c33aa0f5f3c2a67e13a8dc17b6ee4d39 Mon Sep 17 00:00:00 2001 From: "waffle.lord" Date: Mon, 7 Oct 2024 13:59:36 -0400 Subject: [PATCH] add windows to path checks --- SPTInstaller/Helpers/FileHelper.cs | 1 + SPTInstaller/SPTInstaller.csproj | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SPTInstaller/Helpers/FileHelper.cs b/SPTInstaller/Helpers/FileHelper.cs index 1b81667..567e4e1 100644 --- a/SPTInstaller/Helpers/FileHelper.cs +++ b/SPTInstaller/Helpers/FileHelper.cs @@ -158,6 +158,7 @@ public static class FileHelper new("Program Files", PathCheckType.Contains, PathCheckAction.Deny), new("Program Files (x86", PathCheckType.Contains, PathCheckAction.Deny), new(Path.Join("spt-installer", "cache"), PathCheckType.Contains, PathCheckAction.Deny), + new("windows", PathCheckType.Contains, PathCheckAction.Deny), new("Drive Root", PathCheckType.DriveRoot, PathCheckAction.Deny) }; diff --git a/SPTInstaller/SPTInstaller.csproj b/SPTInstaller/SPTInstaller.csproj index 13bf440..de7bf3d 100644 --- a/SPTInstaller/SPTInstaller.csproj +++ b/SPTInstaller/SPTInstaller.csproj @@ -10,8 +10,8 @@ icon.ico Assets\spt_installer.ico Debug;Release;TEST - 2.92 - 2.92 + 2.93 + 2.93 SPT