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;