v2.2.2: Fix bootstrap permission denied - chmod after install, shell fallback, fixPermissions plugin method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user