mirror of
https://github.com/huiyadanli/RevokeMsgPatcher.git
synced 2025-05-23 22:06:06 +08:00
commit
d2f08dddbb
|
@ -2,6 +2,7 @@
|
|||
using RevokeMsgPatcher.Model;
|
||||
using RevokeMsgPatcher.Modifier;
|
||||
using RevokeMsgPatcher.Utils;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
|
@ -147,7 +148,11 @@ namespace RevokeMsgPatcher
|
|||
}
|
||||
// b.获取选择的功能 (精准匹配返回null) // TODO 此处逻辑可以优化 不可完全信任UI信息
|
||||
List<string> categories = UIController.GetCategoriesFromPanel(panelCategories);
|
||||
if (categories != null && categories.Count == 0)
|
||||
|
||||
// DealiAxy: 修复一个空指针异常的逻辑错误
|
||||
if (categories != null)
|
||||
{
|
||||
if (categories.Count == 0)
|
||||
{
|
||||
MessageBox.Show("请至少选择一项功能");
|
||||
EnableAllButton(true);
|
||||
|
@ -172,6 +177,7 @@ namespace RevokeMsgPatcher
|
|||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// c.计算SHA1,验证文件完整性,寻找对应的补丁信息(精确版本、通用特征码两种补丁信息)
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue
Block a user