From 38a102bf72ab238d17c9324ba4bddfe4df89bb69 Mon Sep 17 00:00:00 2001 From: IsWaffle Date: Mon, 25 Mar 2024 21:02:26 +0000 Subject: [PATCH] revert 2b93eafabddf91f72df3aab94559b809f2e9a016 revert 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 79a61d6..4b9a77d 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.Contains }, - { "Downloads", PathCheckType.Contains }, - { "Documents", PathCheckType.EndsWith }, + { "Desktop", PathCheckType.EndsWith }, + { "Downloads", PathCheckType.EndsWith }, + { "Documents", PathCheckType.EndsWith}, { "OneDrive", PathCheckType.Contains }, { "NextCloud", PathCheckType.Contains }, { "DropBox", PathCheckType.Contains },