Ignore:
Timestamp:
2024-04-04T22:46:58+02:00 (7 months ago)
Author:
taylor.smock
Message:

See #21533: Native Apple Silicon Support

Try to fix code signatures for merged binaries.

Options largely came from https://github.com/openjdk/jdk21u/blob/master/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java#getCodesignArgs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/native/macosx/macos-jpackage.sh

    r19030 r19031  
    106106    llvm-lipo-15 -create -output "${1}" "${2}" "${3}"
    107107  fi
     108  if [ -n "${KEYCHAINPATH}" ]; then
     109    codesign --remove-signature "${1}"
     110    codesign --sign "FOSSGIS e.V." \
     111      --force \
     112      --keychain "${KEYCHAINPATH}" \
     113      --timestamp \
     114      --prefix "de.openstreetmap.josm" \
     115      --identifier "de.openstreetmap.josm" \
     116      --options runtime \
     117      --verbose=4 "${1}"
     118  fi
    108119}
    109120
Note: See TracChangeset for help on using the changeset viewer.