From 823638f30cc63789960813d83279a38729e71f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89=E9=B8=AD=E8=9B=8B?= Date: Sun, 16 Jun 2024 00:09:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98=20#732?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RevokeMsgPatcher/Modifier/QQNTModifier.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RevokeMsgPatcher/Modifier/QQNTModifier.cs b/RevokeMsgPatcher/Modifier/QQNTModifier.cs index c6bab8c6..c075e264 100644 --- a/RevokeMsgPatcher/Modifier/QQNTModifier.cs +++ b/RevokeMsgPatcher/Modifier/QQNTModifier.cs @@ -107,7 +107,7 @@ public override void AfterPatchSuccess() // 正则 require\(String.raw`.*`\); string pattern = @"require\(String.raw`.*`\);"; string liteLoaderPath = GetLiteLoaderPath(); - if (!File.Exists(liteLoaderPath)) + if (!Directory.Exists(liteLoaderPath)) { MessageBox.Show("LiteLoaderQQNT文件夹不存在,仅安装QQNT去验证补丁", "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning); return;