hfshfg
29238fc423
fix(portable/mac): setup.sh 装不上 + Bonjour 广播 + 首次启动浏览器不开
在 macmini (Apple Silicon, macOS 15.6.1) 实测发现并修复 3 个 Mac 版问题:
1. setup.sh 漏 --ignore-scripts → 装不上 openclaw(致命)
openclaw 的 preinstall 脚本会调系统 `node`,但便携版用 app/runtime 下的
node(不在 PATH),未装 Node 的 Mac 用户 → "node: command not found" code 127。
两条 npm install 补 --ignore-scripts --no-audit --no-fund --omit=dev,与
Mac-Start.command 的 fallback install 对齐。
2. Mac-Start.command 没关 Bonjour → mDNS 自动对外广播
macOS 上 bonjour 插件 auto-start(Win/Linux 是 opt-in)。实测日志:
`bonjour: advertised ... state=announcing` + `no IPv4 address available on
utun12`。本地用 Dashboard 不需要 LAN 发现。补 OPENCLAW_DISABLE_BONJOUR=1
(Windows-Start.bat 早已设)。
3. 首次启动浏览器不自动打开(同 issue #46/#48,此前误判 Mac 无此问题)
首次启动实测 94.5s(staging 35 个 bundled deps),但浏览器轮询只等 15s
(30×0.5s) 就放弃。改为最多等 ~3 分钟 (180×1s),加"首次启动需 30-90 秒"
提示,超时回退打开 Config Center。
三处修复均已在 macmini 端到端重测通过。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 12:02:48 +08:00
..
2026-06-17 11:47:19 +08:00
2026-06-17 11:47:19 +08:00
2026-06-15 12:27:13 +08:00
2026-06-17 11:47:19 +08:00
2026-03-10 22:10:28 +08:00
2026-03-14 17:37:00 +08:00
2026-03-12 14:02:53 +08:00
2026-03-14 17:37:00 +08:00
2026-06-15 12:27:13 +08:00
2026-06-17 12:02:48 +08:00
2026-06-17 11:47:19 +08:00
2026-06-15 12:27:13 +08:00
2026-05-30 12:58:01 +08:00
2026-05-02 17:07:42 +08:00
2026-06-17 12:02:48 +08:00
2026-03-12 11:18:43 +08:00
2026-04-09 22:05:09 +08:00
2026-03-12 18:50:55 +08:00
2026-04-01 09:31:16 +08:00
2026-05-19 14:30:34 +08:00
2026-06-15 12:29:45 +08:00
2026-06-17 11:47:19 +08:00