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
This commit is contained in:
IsWaffle 2024-03-25 21:02:26 +00:00
parent 2b93eafabd
commit 38a102bf72

View File

@ -175,9 +175,9 @@ public static class FileHelper
var problemNames = new Dictionary<string, PathCheckType>() var problemNames = new Dictionary<string, PathCheckType>()
{ {
{ "Desktop", PathCheckType.Contains }, { "Desktop", PathCheckType.EndsWith },
{ "Downloads", PathCheckType.Contains }, { "Downloads", PathCheckType.EndsWith },
{ "Documents", PathCheckType.EndsWith }, { "Documents", PathCheckType.EndsWith},
{ "OneDrive", PathCheckType.Contains }, { "OneDrive", PathCheckType.Contains },
{ "NextCloud", PathCheckType.Contains }, { "NextCloud", PathCheckType.Contains },
{ "DropBox", PathCheckType.Contains }, { "DropBox", PathCheckType.Contains },