File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -390,16 +390,18 @@ sign_macos_app() {
390390 \( -perm -111 -o -name " *.node" -o -name " *.dylib" -o -name " spawn-helper" \) | while read -r binary; do
391391 log " Signing: ${binary# " $app_path /" } "
392392
393- local entitlements_args=()
394393 if [[ " $binary " == " $app_path /Contents/MacOS/node" ]]; then
395- entitlements_args=(--entitlements " $MACOS_NODE_ENTITLEMENTS " )
394+ codesign --force --sign " $MACOS_IDENTITY " \
395+ --options runtime \
396+ --entitlements " $MACOS_NODE_ENTITLEMENTS " \
397+ --timestamp \
398+ " $binary "
399+ else
400+ codesign --force --sign " $MACOS_IDENTITY " \
401+ --options runtime \
402+ --timestamp \
403+ " $binary "
396404 fi
397-
398- codesign --force --sign " $MACOS_IDENTITY " \
399- --options runtime \
400- " ${entitlements_args[@]} " \
401- --timestamp \
402- " $binary "
403405 done
404406
405407 # Sign the outer .app bundle after nested code. Do not use --deep here:
You can’t perform that action at this time.
0 commit comments