Skip to content

Commit

Permalink
Attempt 2, hand-fixing problematic macOS binary signatures #186
Browse files Browse the repository at this point in the history
  • Loading branch information
brunchboy committed Sep 8, 2024
1 parent a34be0f commit 2578f9c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/scripts/build_dmg.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,15 @@ if [ "$IDENTITY_PASSPHRASE" != "" ]; then
# Explode the jar so we can fix code signatures on the problematic executables we embed.
mkdir jar_tmp
cd jar_tmp
jar xf ../"$dmg_name"
rm "$dmg_name"
jar xf ../"$uberjar_name"
codesign --timestamp -s "Deep Symmetry, LLC (9M6LKU948Y)" libnrepl-macos-universal.so
codesign --timestamp -s "Deep Symmetry, LLC (9M6LKU948Y)" META-INF/native/libnetty_transport_native_kqueue_x86_64.jnilib
codesign --timestamp -s "Deep Symmetry, LLC (9M6LKU948Y)" --force uk/co/xfactorylibrarians/coremidi4j/libCoreMidi4J.dylib
codesign --timestamp -s "Deep Symmetry, LLC (9M6LKU948Y)" com/sun/jna/darwin/libjnidispatch.jnilib

# Replace the jar with one containing the executables with corrected signatures.
rm -f ../"$dmg_name"
jar cf ../"$dmg_name" .
rm -f ../"$uberjar_name"
jar cf ../"$uberjar_name" .
cd ..
rm -rf jar_tmp

Expand Down

0 comments on commit 2578f9c

Please sign in to comment.