cocos_apply_post_build_patches
Apply post-build patches to Cocos Creator projects for specific platforms, enabling previews without rebuilding or re-applying modifications after initial build completion.
Instructions
Apply registered patches for platform to build/<platform>/.
Normally cocos_build invokes this automatically on success —
call directly only for dry-run preview (dry_run=True) or when
you need to re-apply without rebuilding.
Returns {platform, dry_run, build_dir, applied, skipped, errors, ok}. Stops on first patch error so a failure can't cascade across files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| platform | Yes | ||
| dry_run | No |