mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-01 17:10:24 +08: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.
2.7 KiB
2.7 KiB