deny cloud sync folders

This commit is contained in:
IsWaffle 2024-04-06 12:53:45 -04:00
parent e20ccf4b76
commit 90ec2d1b4f
2 changed files with 6 additions and 5 deletions

View File

@ -169,13 +169,14 @@ public static class FileHelper
var problemPaths = new List<PathCheck>() var problemPaths = new List<PathCheck>()
{ {
new("Documents", PathCheckType.EndsWith, PathCheckAction.Warn), new("Documents", PathCheckType.EndsWith, PathCheckAction.Warn),
new("Desktop", PathCheckType.EndsWith, PathCheckAction.Deny),
new("Desktop", PathCheckType.Contains, PathCheckAction.Warn), new("Desktop", PathCheckType.Contains, PathCheckAction.Warn),
new("scoped_dir", PathCheckType.Contains, PathCheckAction.Deny), new("scoped_dir", PathCheckType.Contains, PathCheckAction.Deny),
new("Downloads", PathCheckType.Contains, PathCheckAction.Deny), new("Downloads", PathCheckType.Contains, PathCheckAction.Deny),
new("OneDrive", PathCheckType.Contains, PathCheckAction.Deny), new("OneDrive", PathCheckType.Contains, PathCheckAction.Deny),
new("NextCloud", PathCheckType.Contains, PathCheckAction.Warn), new("NextCloud", PathCheckType.Contains, PathCheckAction.Deny),
new("DropBox", PathCheckType.Contains, PathCheckAction.Warn), new("DropBox", PathCheckType.Contains, PathCheckAction.Deny),
new("Google", PathCheckType.Contains, PathCheckAction.Warn), new("Google", PathCheckType.Contains, PathCheckAction.Deny),
new("Program Files", PathCheckType.Contains, PathCheckAction.Deny), new("Program Files", PathCheckType.Contains, PathCheckAction.Deny),
new("Program Files (x86", PathCheckType.Contains, PathCheckAction.Deny), new("Program Files (x86", PathCheckType.Contains, PathCheckAction.Deny),
new("Drive Root", PathCheckType.DriveRoot, PathCheckAction.Deny) new("Drive Root", PathCheckType.DriveRoot, PathCheckAction.Deny)

View File

@ -9,8 +9,8 @@
<PackageIcon>icon.ico</PackageIcon> <PackageIcon>icon.ico</PackageIcon>
<ApplicationIcon>Assets\icon.ico</ApplicationIcon> <ApplicationIcon>Assets\icon.ico</ApplicationIcon>
<Configurations>Debug;Release;TEST</Configurations> <Configurations>Debug;Release;TEST</Configurations>
<AssemblyVersion>2.55</AssemblyVersion> <AssemblyVersion>2.56</AssemblyVersion>
<FileVersion>2.55</FileVersion> <FileVersion>2.56</FileVersion>
<Company>SPT-AKI</Company> <Company>SPT-AKI</Company>
</PropertyGroup> </PropertyGroup>