JGZ_YES bb5727f6c1 fix(macos): set CS_ADHOC flag in ad-hoc code signature
CodeDirectory flags was 0, causing codesign to treat the binary as
requiring a real CMS certificate signature. With no signature blob
present, codesign reports 'code object is not signed at all' and the
macOS kernel SIGKILLs the process on exec (exit 137 / 'zsh: killed').

Setting CS_ADHOC (0x2) marks the signature as ad-hoc (codesign -s -),
which is accepted without a certificate. Verified locally: SuperBlob,
CodeDirectory, codeLimit, and all code-page SHA-256 hashes are correct;
flags now reads 0x2.
2026-08-04 02:31:01 +08:00
S
描述
A Little Coding Language By JGZ_YES (.NET10)
MIT
1 MiB
语言
C 51.1%
C# 48%
PowerShell 0.8%
Makefile 0.1%