[中] assemble_windows_local.py 保留 base 包里的旧更新器与旧更新配置

Open
#44 0 comments 0 reactions 0 assignees View on GitHub

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cyandee/BirdLock

All issues in cyandee/BirdLock

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.