openclaw/apps
Rocuts c0d3eee83b fix(install): guard against Rosetta trap on Apple Silicon AI Assisted
## Description
This PR fixes installation instability on Apple Silicon (M1/M2/M3) Macs caused by the "Rosetta Trap".
The Problem:
When a terminal runs under Rosetta, scripts using `uname -m` incorrectly detect Intel. This leads to wrong binary downloads and Homebrew path issues.
The Fix:
1. scripts/postinstall.js: Added check for sysctl.proc_translated.
2. apps/macos/.../CLIInstaller.swift: Added native Swift guard.
3. scripts/check-env.sh: Added diagnostic utility.
## AI/Vibe-Coded 🤖
- [x] AI-Assisted: Marked in title/description.
- [x] Testing Level: Fully Tested (Verified on M1 environment with check-env.sh).
- [x] Transparency: Prompts derived from installation_debugging.md analysis.
- [x] I understand what this code does
2026-01-26 12:06:09 -05:00
..
android chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
ios chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
macos fix(install): guard against Rosetta trap on Apple Silicon AI Assisted 2026-01-26 12:06:09 -05:00
shared/ClawdbotKit macOS: bump Textual to 0.3.1 (#2033) 2026-01-25 21:02:18 -06:00