[中] assemble_windows_local.py 保留 base 包里的旧更新器与旧更新配置
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- build-system, release
Research direction
Read scripts/assemble_windows_local.py around line 201 (the copy step) and lines 224-227 (the byte-for-byte check that pins every .exe/.dll/.pyd/.onnx from base). Then inspect _internal/updater/BirdLockUpdater.exe and SharedResources/Updates/config.json in a generated candidate package, and compare with what updates.py passes via --source. Done means the assembled package carries the 1.10 updater and current update config and the native-file verification allows it, checked by rerunning the script and listing _internal/updater and _internal/updates/config.json.
Written by the indexing model from the issue text.
Description
位置:scripts/assemble_windows_local.py:201、:224-227
现象:脚本只复制 LensProfiles 与 windows/telemetry,随后把 base 中所有 .exe/.dll/.pyd/.onnx 与组装结果逐字节比较并要求不变。因此 _internal/updater/BirdLockUpdater.exe 被有意保留为 1.6.0 版本,也不复制当前 SharedResources/Updates/config.json。1.6.0 更新器早于 1.10 的多更新源能力,而 1.10 的 updates.py 会传 --source。
复现:用该脚本生成候选包,检查 _internal/updater 的版本与 _internal/updates/config.json 的内容。
建议:复制或重新编译当前更新器并复制当前配置,同时调整 native 文件校验;否则删除 --release 中「已核对更新协议」的声明。
来源:2026-11-15 全仓只读审计,PR #7 未包含此项。
- Dominant language
- Swift
- Stars
- 2
- Forks
- 2
- Avg merge
- 1h 11m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cyandee/BirdLock
-
Difficulty 2/5 Under an hour Newbie friendliness 62/100
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100