Repository navigation
修复启动时误选游戏更新程序 - #864
Open
Plastic-time wants to merge 3 commits into
Open
修复启动时误选游戏更新程序#864Plastic-time wants to merge 3 commits into
Plastic-time wants to merge 3 commits into
Conversation
Owner
|
合并阻塞( |
Owner
|
合并阻塞( |
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.
问题
带有
Updata1.01这类后缀的厂商更新器会被当成游戏程序。扫描和启动规划都可能选到它,旧条目里的自动查找也找不回正本。改动
两处都排除带版本号的更新器。旧条目可从同目录找回精确同名的游戏程序,并保留原记录。已有中英文标记或本地汉化证据时,仍需手动选原版。
按评审补测了更新器带
.exe.emb或内嵌 DRM 标记的情况。启动规划在选引擎之前就过滤更新器。用厂商更新器和模拟受保护目录复验,原提交会选更新器,修复后保留正本。旧条目缺少语言记录时,自动找回也检查候选程序的完整路径和已有的汉化补丁标记。SQLite 用例验证拒绝后仍保留原路径和元数据,未标记的同名原版仍能找回。模拟器配置指向更新器时,扫描也会排除它,合法目标仍按原优先级处理。七组关联测试 66 项通过,1 项跳过。
#817 已在 DRM 启动规划里过滤同类更新器。游戏目录扫描仍走通用启动程序识别,本改动也在该入口排除这类文件,并处理已选到更新器的旧条目。
Windows 上用厂商更新器和实际游戏文件做静态对照。修复前选更新器,修复后选游戏程序。
node --test的 5 个相关测试文件共 44 项通过,1 项跳过。最终
Build.ps1 -TestsOnly共 3,473 项,3,291 项通过,162 项跳过。20 项失败都已出现在主线基线。Refs #776