mirror of
				https://github.com/jcefmaven/jcefbuild.git
				synced 2025-11-04 08:33:40 +08:00 
			
		
		
		
	Show notarytool logs
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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"
 | 
			
		||||
 
 | 
			
		||||
@@ -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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user