mirror of
				https://github.com/jcefmaven/jcefbuild.git
				synced 2025-11-04 16:33:40 +08:00 
			
		
		
		
	Fix bugs in macosx build
This commit is contained in:
		@@ -43,6 +43,9 @@ else
 | 
			
		||||
    echo "Found existing files to build"
 | 
			
		||||
    cd jcef
 | 
			
		||||
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
 | 
			
		||||
 
 | 
			
		||||
@@ -40,8 +40,6 @@ bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Rendere
 | 
			
		||||
echo "Signing libraries and framework..."
 | 
			
		||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Libraries/libEGL.dylib"
 | 
			
		||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Libraries/libGLESv2.dylib"
 | 
			
		||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Libraries/libswiftshader_libEGL.dylib"
 | 
			
		||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Libraries/libswiftshader_libGLESv2.dylib"
 | 
			
		||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Libraries/libvk_swiftshader.dylib"
 | 
			
		||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME"
 | 
			
		||||
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME" "$2" $3 org.cef.framework $4 $5
 | 
			
		||||
 
 | 
			
		||||
@@ -66,7 +66,7 @@ xcrun altool --notarization-info "$requestUUID" \
 | 
			
		||||
echo
 | 
			
		||||
 | 
			
		||||
if [[ $request_status != "success" ]]; then
 | 
			
		||||
    echo "Could not notarize!"
 | 
			
		||||
    echo "Could not notarize! ($request_status)"
 | 
			
		||||
    exit 1
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user