Skip to content

Commit

Permalink
data: update macOS package script to remove xattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Dec 10, 2024
1 parent 5ccfc99 commit 15e4c3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ BASEDIR="$(dirname "$(realpath $0)")"

cp -a "$INPUT_ARCHIVE/Products" "$TMP_ROOT"

xattr -c "$TMP_ROOT/usr/local/bin/spice-vdagentd"

codesign --sign "Developer ID Application" \
--force \
--identifier com.redhat.spice.vdagentd \
--preserve-metadata=entitlements,requirements,flags,runtime \
--timestamp \
"$TMP_ROOT/usr/local/bin/spice-vdagentd"

xattr -c "$TMP_ROOT/usr/local/bin/spice-vdagent"

codesign --sign "Developer ID Application" \
--force \
--identifier com.redhat.spice.vdagent \
Expand Down

0 comments on commit 15e4c3b

Please sign in to comment.