Show notarytool logs

This commit is contained in:
FriwiDev 2022-11-01 05:28:56 +01:00
parent 7b7fe2c47e
commit 611beff7ca
3 changed files with 15 additions and 7 deletions

View File

@ -44,12 +44,6 @@ else
echo "Found existing files to build"
cd jcef
fi
if [ ! -d "out" ]; then
mkdir out
fi
if [ ! -d "out/docs" ]; then
mkdir out/docs
fi
# Create and enter the `jcef_build` directory.
# The `jcef_build` directory name is required by other JCEF tooling

View File

@ -54,4 +54,7 @@ bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-m
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME"
bash macosx_notarize.sh "$APP_DIR/$APP_NAME" "$2" $3 org.jcef.jcef $4 $5 $6
echo "Checking notarization validity"
spctl -vvv --assess --type exec "$APP_DIR/$APP_NAME"
echo "Done signing binaries"

View File

@ -33,7 +33,18 @@ xcrun notarytool submit "$1.zip" \
--key $6 \
--key-id $5 \
--issuer $7 \
--wait
--wait 2>&1 | tee notary_output.txt
requestUUID=$(cat notary_output.txt | awk '/id:/ { print $NF; exit; }')
echo "Notarization log:"
rm -f notarization.log
xcrun notarytool log $requestUUID \
--key $6 \
--key-id $5 \
--issuer $7 \
notarization.log
cat notarization.log
# staple
xcrun stapler staple "$1"