迁移部分常用路径
This commit is contained in:
1 parent
e9cd356f2b
commit
966b2db312
5 files changed
+30
-14
No files matched your search
@@ -173,7 +173,7 @@ public static class DirectoryUtils {
|
||||
throw new UnauthorizedAccessException($"不应操作文件夹:{folder}");
|
||||
}
|
||||
private static readonly Lazy<HashSet<string>> criticalFolders = new(() => new(new[] {
|
||||
PathUtils.CurrentFolder,
|
||||
Paths.Base,
|
||||
Environment.GetFolderPath(Environment.SpecialFolder.Desktop),
|
||||
Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory),
|
||||
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
|
||||
|
||||
Reference in new issue
Block a user