v2.2.2: Fix bootstrap permission denied - chmod after install, shell fallback, fixPermissions plugin method

This commit is contained in:
admin
2026-05-19 20:05:13 +04:00
Unverified
parent 9880baac5b
commit f3b2150cb0
7 changed files with 154 additions and 50 deletions

View File

@@ -631,6 +631,14 @@ data: [DONE]
## Changelog
### v2.2.2 (2026-05-19)
- **Permission Fix** — `chmod -R 755` on all bootstrap binaries after extraction (fixes "Permission denied" on bash)
- **Shell Auto-Fallback** — if bash fails with permission error, auto-falls back to `/system/bin/sh`
- **fixPermissions Plugin** — new `BootstrapPlugin.fixPermissions()` for JS to call after install
- `ensureBuildTools()` uses full paths to `pkg`/`apt` with `chmod 755` before execution
- `setPermissionsRecursive()` ensures all nested binaries get execute permission
- Shell auto-refreshes path on each execute call, re-chmods if needed
### v2.2.1 (2026-05-19)
- **Auto-Install Build Tools** — `aapt2`, `ecj`, `d8`, `apksigner` auto-installed via `pkg` with full paths and retry logic
- **Dev Tools Banner** — yellow warning banner on Coding/Agentic mode if tools missing, one-tap Install button