Repository navigation
Conversation
按特征逐条识别已安装状态,修复部分功能已安装时的匹配数错误;拆分 QQNT 群聊、私聊防撤回开关并加入当前私聊通知分发特征。
There was a problem hiding this comment.
🟡 Changes recommended
ModifyFinder.FindChanges 在特征列表为空时会抛出“已安装”类错误,可能导致不支持/无匹配特征场景下的误导性提示与流程中断。
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
本 PR 更新内置补丁数据与特征匹配逻辑,以适配更新的微信/QQNT 版本,并改进“部分功能已安装”的识别与安装流程,从而减少误报并支持 QQNT 群聊/私聊防撤回的独立开关。
Changes:
- 更新内置 PatchJson(含 Weixin 4.1.13.12、QQNT 私聊防撤回特征与分类拆分),并将 PatchVersion 更新到 20260829。
- 重写特征匹配/已安装判断逻辑,改为逐条校验 Search/Replace 命中状态,允许“部分已安装、部分未安装”的混合状态。
- 调整 UI 文案,并在远程补丁数据更新后同步刷新 QQNT 配置。
File summaries
| File | Description |
|---|---|
| RevokeMsgPatcher/Properties/Resources.resx | 更新内嵌 PatchJson 数据(版本适配、QQNT 私聊特征、分类拆分、PatchVersion 升级)。 |
| RevokeMsgPatcher/Matcher/ModifyFinder.cs | 调整特征匹配与已安装识别逻辑,支持混合安装状态。 |
| RevokeMsgPatcher/FormMain.Designer.cs | 更新按钮与标签文案以匹配“功能开关/安装所选功能”的交互。 |
| RevokeMsgPatcher/FormMain.cs | 远程补丁数据刷新时同步更新 QQNT 配置。 |
| RevokeMsgPatcher.Assistant/JsonData.cs | 同步更新 Assistant 侧内置补丁数据与 PatchVersion,并加入 QQNT 私聊分发特征与分类调整。 |
Review details
Files not reviewed (1)
- RevokeMsgPatcher/FormMain.Designer.cs: Generated file
- Files reviewed: 4/5 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
在 FindChanges 进入匹配循环前显式拒绝 null 或空特征列表,返回 match_no_pattern,避免误报为补丁已安装。
|
期待合并 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动说明
[1]/[2]一类误报。关联:#1234
验证
说明:QQNT 私聊部分完成了二进制分发路径与补丁往返测试,并在我的个人电脑最新版QQNT 9.9.33-52230上测试成功。