diff --git a/macosx_codesign.sh b/macosx_codesign.sh index f07f978..b32c604 100755 --- a/macosx_codesign.sh +++ b/macosx_codesign.sh @@ -27,8 +27,9 @@ chmod +x macosx_codesign_zip.sh #Sign helpers echo "Signing helpers..." -cd "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR" -ln -s _CodeSignature/CodeResources CodeResources +cd "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME" +mkdir -p Contents +ln -s _CodeSignature/CodeResources Contents/CodeResources cd "$( dirname "$0" )" codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper.app" bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper.app" "$2" $3 org.jcef.jcef.helper $4 $5