Commit graph

4 commits

Author SHA1 Message Date
zmworm
2d7d0a6274 fix(install): atomic binary replace via staged .new + mv
Overwriting the installed binary in place could trash the text segment
of any running officecli process mmap'd on the same path — macOS does
not block ETXTBSY, so the live process would fault into uninterruptible
`UE` state on the next code page fault. Stage the new binary as
`<target>.new` alongside the destination, codesign/unquarantine there,
then rename atomically over the target. Applied identically in build.sh,
install.sh, and dev-install.sh.
2026-04-11 23:05:34 +08:00
zmworm
f9f03afd5b feat: add linux-musl-x64, linux-musl-arm64 and win-arm64 build targets
Add Alpine Linux (musl libc) support for x64 and arm64, and add missing
win-arm64 to build.sh. All scripts now auto-detect musl vs glibc on Linux.
2026-03-27 04:07:11 +08:00
zmworm
99abab25e4 fix: add macOS ad-hoc codesign to prevent AppleSystemPolicy kill
Build macOS targets on macos-latest runner with codesign in CI.
Also add quarantine removal and codesign to install/dev-install scripts.
2026-03-24 00:21:54 +08:00
zmworm
e8f5a61cca Add dev-install.sh for local build and install 2026-03-15 22:59:39 +08:00