mirror of
https://github.com/block/buzz.git
synced 2026-10-27 20:41:57 +00:00
Older macOS versions display Buzz’s opaque icon as an oversized square. Bake rounded corners and transparent padding into the macOS `.icns`, preserving the original bee artwork and leaving other platforms unchanged. Generation uses Hermit-pinned uv, Python 3.14.3, and Pillow 12.2.0. `scripts/macos-icon.sh --check` regenerates temporarily and compares all decoded representations; macOS CI runs it before packaging. Pixel reproducibility is verified independently of Apple’s ICNS container encoding. Validated native AppKit preview, all 10 representations, fresh-cache generation, one-pixel/missing-representation drift rejection, workflow lint, and pre-push checks. Full local `just ci` is running. Packaged Dock checks on older/current macOS remain outstanding. --------- Signed-off-by: kenny lopez <klopez4212@gmail.com>
8 lines
339 B
Bash
Executable File
8 lines
339 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
# Hermit pins uv; inline script metadata pins Python and Pillow exactly.
|
|
# uv script environments are isolated from the caller's Python packages.
|
|
exec "$ROOT/bin/uv" run --managed-python --python 3.14.3 \
|
|
--script "$ROOT/scripts/generate-macos-icon.py" "$@"
|