Commit graph

6 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
0391cad8a3 chore: rename musl artifacts to alpine for clarity 2026-03-27 10:43:44 +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
bb95f18644 Add linux-arm64 build target and default to local platform 2026-03-15 23:42:48 +08:00
zmworm
50f518a898 Initial commit: officecli - CLI tool for Office documents 2026-03-15 22:38:32 +08:00