[中] Windows 构建没有执行文档声称的资源与许可核对

Open
#43 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
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
build-system

Research direction

Start by reading scripts/verify_bundle.py:130-146, where the Mac-side checks for Audio, Support and Core ML models live, then compare with the Windows calls in windows/build_windows.py:90,104,108 and the promise made in docs/构建与发布.md:13. The work is to add entries for SharedResources/Audio, SharedResources/Support, windows/models/*.onnx and FFmpeg's LICENSE.txt to the verifier, and have the Windows build and local assembly scripts call it so a missing resource fails the build. Done when a deliberately incomplete bundle makes the Windows build exit non-zero and the --selftest path still passes on a complete one.

Written by the indexing model from the issue text.

Description

位置:windows/build_windows.py:90,104,108;docs/构建与发布.md:13

现象:文档写「两端打包都会核对模型、音效和许可文件,再复制进应用」。Mac 的 scripts/verify_bundle.py:130-146 确实检查 Audio、Support 和 Core ML 模型;Windows 构建只调用了 --aircraft-resources、--lens-resources、--telemetry-resources,没有检查 SharedResources/Audio、SharedResources/Support、windows/models/*.onnx,也没有检查 FFmpeg 的 LICENSE.txt。CI 的 --selftest 能发现部分问题,但本地构建脚本不会失败。

建议:扩展 scripts/verify_bundle.py 增加音频/支持资源/模型入口,由 Windows 构建与本地组装脚本统一调用。

来源: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.