迁移部分常用路径

This commit is contained in:
龙腾猫跃 committed 2026-06-18 21:43:27 +08:00
1 parent e9cd356f2b
commit 966b2db312
5 files changed
+30 -14

No files matched your search

+1 -1
View File
@@ -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),