From 95a8bf17606c1618f17dd2110cf2f4bbfc81dafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89=E9=B8=AD=E8=9B=8B?= Date: Mon, 4 Aug 2025 01:13:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RevokeMsgPatcher/Model/TargetInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ""; } // 获取所有子目录