-
fix(electron): properly dereference symlinks by copying actual content (#610)
发布于
2026-01-18 10:57:38 +00:00 cpSync with dereference:true does NOT convert symlinks to files.
This implements a custom copyDereferenced function that:- Detects symlinks using lstatSync
- Follows them using statSync
- Copies actual file/directory content instead of symlink
Fixes macOS arm64 codesign failure with electron-builder 26.4.0
which now does ad-hoc signing and runs codesign --verify.下载附件