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:
Dev 2024-03-25 19:32:50 +00:00
parent 8c446a6e81
commit 2b93eafabd

View File

@ -175,9 +175,9 @@ public static class FileHelper
var problemNames = new Dictionary<string, PathCheckType>()
{
{ "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 },