fix: ad-hoc sign packaged macOS key helpers and app bundle

electron-builder 26 skips macOS signing entirely when no Developer ID identity is configured, so the packaged key helpers can ship unsigned or with a broken signature and macOS kills them even with SIP disabled. afterPack now verifies and ad-hoc re-signs the packaged xkey helpers and the outer app bundle, failing the build when a signature cannot be repaired.
This commit is contained in:
wuyouMaster
2026-09-20 18:16:41 +08:00
committed by Wxw-Gu
parent c1224cb612
commit 4c25236070
4 changed files with 200 additions and 4 deletions
Binary file not shown.
Binary file not shown.