Skip to content

Commit

Permalink
Attempt 4, 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 62a0530 commit 5f69f6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/build_dmg.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +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 ../beat-link-trigger.jar
jar xf ../Input/beat-link-trigger.jar
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 ../beat-link-trigger.jar
jar cf ../beat-link-trigger.jar .
rm -f ../Input/beat-link-trigger.jar
jar cf ../Input/beat-link-trigger.jar .
cd ..
rm -rf jar_tmp

Expand Down

0 comments on commit 5f69f6f

Please sign in to comment.