mirror of
https://github.com/huiyadanli/RevokeMsgPatcher.git
synced 2025-05-24 06:26:06 +08:00
修复文件判断错误的问题 #732
This commit is contained in:
parent
1b6f827afe
commit
823638f30c
|
@ -107,7 +107,7 @@ namespace RevokeMsgPatcher.Modifier
|
||||||
// 正则 require\(String.raw`.*`\);
|
// 正则 require\(String.raw`.*`\);
|
||||||
string pattern = @"require\(String.raw`.*`\);";
|
string pattern = @"require\(String.raw`.*`\);";
|
||||||
string liteLoaderPath = GetLiteLoaderPath();
|
string liteLoaderPath = GetLiteLoaderPath();
|
||||||
if (!File.Exists(liteLoaderPath))
|
if (!Directory.Exists(liteLoaderPath))
|
||||||
{
|
{
|
||||||
MessageBox.Show("LiteLoaderQQNT文件夹不存在,仅安装QQNT去验证补丁", "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
MessageBox.Show("LiteLoaderQQNT文件夹不存在,仅安装QQNT去验证补丁", "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user