Skip to content

Commit

Permalink
修复文件判断错误的问题 #732
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyadanli committed Jun 15, 2024
1 parent 1b6f827 commit 823638f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RevokeMsgPatcher/Modifier/QQNTModifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 823638f

Please sign in to comment.