Skip to content

Commit

Permalink
hardened runtime breaks node; disable even though required for apple …
Browse files Browse the repository at this point in the history
…notarization
  • Loading branch information
tmm1 committed Jun 22, 2023
1 parent 26e2f01 commit 92219b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script/build
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
#!/bin/sh
set -e

rm dist/chrome-capture-for-channels-*
npm run build

for f in dist/chrome-capture-for-channels-macos-*; do
codesign --remove-signature $f
done

codesign --options=runtime -s "Developer ID Application: Fancy Bits, LLC (LVM8JB4FT5)" dist/chrome-capture-for-channels-macos-arm64
codesign -s "Developer ID Application: Fancy Bits, LLC (LVM8JB4FT5)" dist/chrome-capture-for-channels-macos-arm64
rm -f dist/ChromeCaptureARM64.zip
(cd dist && zip -r ChromeCaptureARM64.zip chrome-capture-for-channels-macos-arm64)

codesign --options=runtime -s "Developer ID Application: Fancy Bits, LLC (LVM8JB4FT5)" dist/chrome-capture-for-channels-macos-x64
codesign -s "Developer ID Application: Fancy Bits, LLC (LVM8JB4FT5)" dist/chrome-capture-for-channels-macos-x64
rm -f dist/ChromeCaptureIntel.zip
(cd dist && zip -r ChromeCaptureIntel.zip chrome-capture-for-channels-macos-x64)

Expand Down

0 comments on commit 92219b0

Please sign in to comment.