From 2b93eafabddf91f72df3aab94559b809f2e9a016 Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 25 Mar 2024 19:32:50 +0000 Subject: [PATCH] Edit install path requirements: Fail if `Desktop` exists in path, not ends with Fail if `Downloads` exists in path, not ends with --- SPTInstaller/Helpers/FileHelper.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SPTInstaller/Helpers/FileHelper.cs b/SPTInstaller/Helpers/FileHelper.cs index 4b9a77d..79a61d6 100644 --- a/SPTInstaller/Helpers/FileHelper.cs +++ b/SPTInstaller/Helpers/FileHelper.cs @@ -175,9 +175,9 @@ public static class FileHelper var problemNames = new Dictionary() { - { "Desktop", PathCheckType.EndsWith }, - { "Downloads", PathCheckType.EndsWith }, - { "Documents", PathCheckType.EndsWith}, + { "Desktop", PathCheckType.Contains }, + { "Downloads", PathCheckType.Contains }, + { "Documents", PathCheckType.EndsWith }, { "OneDrive", PathCheckType.Contains }, { "NextCloud", PathCheckType.Contains }, { "DropBox", PathCheckType.Contains },