PCL-CE
PCL-CE copied to clipboard
[C#]: 在更新资源前后若资源文件名称始终相同,则仍然提示可更新。
检查项 / Checklist
- [x] 我已在 Issues 页面 中搜索,确认了这一 Bug 未被提交过 / I have searched the Issues page and confirmed that this bug has not been reported yet.
- [ ] 我确认只是全部选中而没有仔细确认就直接提交了这个 Issue,并且同意这个 Issue 可以直接被关闭 / I confirm that I checked all boxes without carefully reading them, and agree that this issue may be closed directly.
- [x] 我确认正在使用当前更新分支的最新版 PCL CE,若不是,此 Issue 可能会被直接关闭(更新方式:启动器
设置-关于-软件更新检查更新,或在 Releases 页面下载) / I confirm that I am using the latest PCL CE version on the current update channel. If not, this issue may be closed directly. To update, check for updates inSettings → About → Updates, or download the latest version from the Releases page. - [x] 我确认会详细描述我所遇到的问题,并附上日志和截图,而不是随便填点东西敷衍了事 / I will describe the problem in detail, attach logs and screenshots, and avoid submitting vague or incomplete information.
- [x] 我确认已亲自复现并核实所报告的问题;如未能复现,我已在描述中明确说明未确认的部分。Issue 中的描述、日志和截图均为真实内容,未直接提交 AI 生成的未经核实内容 / I confirm that I have personally reproduced and verified the reported problem. If I could not reproduce it, I have clearly stated which parts remain unconfirmed in the description. The description, logs, and screenshots are genuine, and I have not submitted unverified AI-generated content.
AI 使用情况 / AI Usage
未使用 / Not used
AI 工具与核实说明 / AI Tools and Verification
无
描述 / Description
如果更新了一个资源,但是这个资源文件本是名称没有变化的(比如有些不带版本号的和版本号写错的),在更新完之后仍然会提示更新,只有重启一遍PCLCE才可以正确识别为最新版本。
重现步骤 / Steps to Reproduce
1.下载任意名称始终不变的资源包的非最新版(如Translations for Sodium) 2.更新至新版 3.发现其仍然显示为“可更新” 4.重启后PCLCE后识别恢复正常
日志与附件 / Logs & Attachments
在模组下载时也有这个问题
在迁移到 Avalonia 后的 dev(009af6f6)上按原步骤测试:下载 Translations for Sodium v1.10.0(1.19.3)→ 更新到 v1.11.0(文件名同为 SodiumTranslations.zip),更新后不再显示可更新,无法复现。原问题可能只存在于 WPF 版,麻烦用最新版dev分支构建新版本确认一下。
另外发现 LocalComp.json 的 BOM 问题,见 #3834
应该已经解决,遂关闭。