mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-17 21:06:38 +08:00
Show notarytool logs
This commit is contained in:
parent
7b7fe2c47e
commit
611beff7ca
@ -44,12 +44,6 @@ else
|
|||||||
echo "Found existing files to build"
|
echo "Found existing files to build"
|
||||||
cd jcef
|
cd jcef
|
||||||
fi
|
fi
|
||||||
if [ ! -d "out" ]; then
|
|
||||||
mkdir out
|
|
||||||
fi
|
|
||||||
if [ ! -d "out/docs" ]; then
|
|
||||||
mkdir out/docs
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Create and enter the `jcef_build` directory.
|
# Create and enter the `jcef_build` directory.
|
||||||
# The `jcef_build` directory name is required by other JCEF tooling
|
# The `jcef_build` directory name is required by other JCEF tooling
|
||||||
|
@ -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"
|
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
|
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"
|
echo "Done signing binaries"
|
||||||
|
@ -33,7 +33,18 @@ xcrun notarytool submit "$1.zip" \
|
|||||||
--key $6 \
|
--key $6 \
|
||||||
--key-id $5 \
|
--key-id $5 \
|
||||||
--issuer $7 \
|
--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
|
# staple
|
||||||
xcrun stapler staple "$1"
|
xcrun stapler staple "$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user