From: Jalview Development Admin Date: Wed, 23 Feb 2022 17:23:42 +0000 (+0000) Subject: JAL-3796 additional steps for notarization X-Git-Tag: Release_2_11_2_1~62 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cdf351338605de65f5f7ef11e8818a822a548872;p=jalview.git JAL-3796 additional steps for notarization --- diff --git a/utils/osx_signing/README b/utils/osx_signing/README index 057b5b8..65dadf9 100644 --- a/utils/osx_signing/README +++ b/utils/osx_signing/README @@ -10,14 +10,23 @@ mkdir newdmg; ditto /Volumes/Jalview\ Develop\ Installer newdmg/ 3. Remove the uninstaller if necessary/and/or others, and then deep sign the dmg + +mkdir t +cd t +jar -xf ../newdmg/Jalview\ Develop.app/Contents/Resources/app/alt/Jmol-NO_LOG4J-14.31.53.jar +codesign --remove-signature --force --deep -vvvv -s "Developer ID" --options runtime --entitlements ../utils/osx_signing/entitlements.txt META-INF/jniinchi/1.03_1/MAC-X86_64/JniInchi-1.03_1-MAC-X86_64 +jar -cf ../newdmg/Jalview\ Develop.app/Contents/Resources/app/alt/Jmol-NO_LOG4J-14.31.53.jar ./* +cd .. +rm -Rf t + xattr -cr ./newdmg/Jalview\ Develop.app/Contents/Resources/app/jre/Contents/MacOS/libjli.dylib codesign --verify --deep -v ./newdmg/Jalview\ Develop.app/Contents/Resources/app/jre/Contents/MacOS/libjli.dylib -codesign --force --deep -vvvv -s "Developer ID" --options runtime --entitlements ./utils/osx_signing/entitlements.txt ./newdmg/Jalview\ Develop.app/Contents/Resources/app/jre/Contents/MacOS/libjli.dylib +codesign --remove-signature --force --deep -vvvv -s "Developer ID" --options runtime --entitlements ./utils/osx_signing/entitlements.txt ./newdmg/Jalview\ Develop.app/Contents/Resources/app/jre/Contents/MacOS/libjli.dylib -codesign --verify --deep -v ./newdmg/Jalview\ Develop.app/Contents/Resources/app/jre/Contents/MacOS/libjli.dylib +codesign --verify --deep -v ./newdmg/Jalview\ Develop.app/Contents/Resources/app/jre/Contents/MacOS/libjli.dylib -codesign --force --deep -vvvv -s "Developer ID" --options runtime --entitlements ./utils/osx_signing/entitlements.txt ./newdmg/Jalview\ Develop.app/Contents/MacOS/JavaApplicationStub +codesign --remove-signature --force --deep -vvvv -s "Developer ID" --options runtime --entitlements ./utils/osx_signing/entitlements.txt newdmg/Jalview\ Develop.app/Contents/MacOS/JavaApplicationStub hdiutil create -megabytes 240 -srcfolder ./newdmg -volname 'Jalview Develop Installer (2.11.2)' Jalview_Develop-2_11_2-macos-java_11.dmg