update problem paths

including scoped_dir for operagx nonsense, and entire downloads folder now
This commit is contained in:
IsWaffle 2024-03-25 18:27:57 -04:00
parent f0f2c1e7aa
commit e53240b417

View File

@ -176,15 +176,16 @@ public static class FileHelper
var problemNames = new Dictionary<string, PathCheckType>() var problemNames = new Dictionary<string, PathCheckType>()
{ {
{ "Desktop", PathCheckType.EndsWith }, { "Desktop", PathCheckType.EndsWith },
{ "Downloads", PathCheckType.EndsWith }, { "Documents", PathCheckType.EndsWith },
{ "Documents", PathCheckType.EndsWith}, { "scoped_dir", PathCheckType.Contains },
{ "Downloads", PathCheckType.Contains },
{ "OneDrive", PathCheckType.Contains }, { "OneDrive", PathCheckType.Contains },
{ "NextCloud", PathCheckType.Contains }, { "NextCloud", PathCheckType.Contains },
{ "DropBox", PathCheckType.Contains }, { "DropBox", PathCheckType.Contains },
{ "Google", PathCheckType.Contains }, { "Google", PathCheckType.Contains },
{ "Program Files", PathCheckType.Contains}, { "Program Files", PathCheckType.Contains },
{ "Program Files (x86)", PathCheckType.Contains}, { "Program Files (x86)", PathCheckType.Contains },
{ "Drive Root", PathCheckType.DriveRoot} { "Drive Root", PathCheckType.DriveRoot }
}; };
foreach (var name in problemNames) foreach (var name in problemNames)