Skip to content

Commit

Permalink
codesign script force sign (#2291)
Browse files Browse the repository at this point in the history
Co-authored-by: Hien To <tominhhien97@gmail.com>
  • Loading branch information
hiento09 and hientominh committed Mar 11, 2024
1 parent 24d1368 commit 3aeb643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/auto-sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ if [[ -z "$APP_PATH" ]] || [[ -z "$DEVELOPER_ID" ]]; then
fi

# If both variables are set, execute the following commands
find "$APP_PATH" \( -type f -perm +111 -o -name "*.node" \) -exec codesign -s "$DEVELOPER_ID" --options=runtime {} \;
find "$APP_PATH" \( -type f -perm +111 -o -name "*.node" \) -exec codesign --force -s "$DEVELOPER_ID" --options=runtime {} \;

find "$APP_PATH" -type f -name "*.o" -exec codesign -s "$DEVELOPER_ID" --options=runtime {} \;
find "$APP_PATH" -type f -name "*.o" -exec codesign --force -s "$DEVELOPER_ID" --options=runtime {} \;

0 comments on commit 3aeb643

Please sign in to comment.