mirror of
https://github.com/zhouxiaoka/autoclip.git
synced 2026-09-03 06:24:14 +08:00
There were 7 desktop-build workflows across two dead packaging routes (PyInstaller via build_backend.py, and prepare_resources.py), none of which ever produced a working installable app — they're the red builds in issue #65. Replace all of them with a single desktop-build.yml that runs the proven python-build-standalone route (scripts/build_macos_arm.sh): portable Python + backend source + static ffmpeg/ffprobe → ad-hoc signed .app → DMG. Triggers on manual dispatch and on v* tags (attaches the DMG to a GitHub Release). Caches the PBS + ffmpeg downloads and the Rust build. Removed: build-all-platforms.yml, build-cross-platform.yml, build-desktop.yml, build-linux.yml, build-universal.yml, build-windows.yml, build-x86-macos.yml Kept: ci.yml (tests), i18n-sync.yml (docs), nightly-desktop-smoke.yml (backend smoke via verify_desktop.sh). Currently macOS arm64 only — the validated target. The script generalizes to other platforms later (PBS + static ffmpeg exist for them). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>