diff --git a/RevokeMsgPatcher/Model/TargetInfo.cs b/RevokeMsgPatcher/Model/TargetInfo.cs index e168e79..8dae400 100644 --- a/RevokeMsgPatcher/Model/TargetInfo.cs +++ b/RevokeMsgPatcher/Model/TargetInfo.cs @@ -47,7 +47,7 @@ namespace RevokeMsgPatcher.Model if (!Directory.Exists(searchDirectory)) { - throw new DirectoryNotFoundException($"Directory not found: {searchDirectory}"); + return ""; } // 获取所有子目录