-
scripts: fix macOS auto-update signature verification failure (#13713)
发布于
2026-01-14 15:48:10 +00:00 Add --norsrc flag to ditto commands when creating Ollama-darwin.zip
to exclude AppleDouble resource fork files (._* files) from the archive.The mlx.metallib file has extended attributes, which causes ditto to
include a ._mlx.metallib AppleDouble file in the zip. Since this file
is not part of the code signature seal, macOS rejects the bundle during
auto-update verification with:"a sealed resource is missing or invalid"
"file added: .../._mlx.metallib"The --norsrc flag prevents ditto from preserving resource forks and
extended attributes, ensuring only signed files are included in the
release archive.下载附件