fix: reset unsigned launchd overrides (#695) (thanks @jeffersonwarrior)

This commit is contained in:
Peter Steinberger
2026-01-11 03:19:24 +01:00
parent 325ed80252
commit 9b6bc0e66b
5 changed files with 85 additions and 3 deletions

View File

@@ -44,6 +44,22 @@ Steps:
The UI should show “Using existing gateway …” once connected.
## Unsigned dev builds
`scripts/restart-mac.sh --no-sign` is for fast local builds when you dont have
signing keys. To prevent launchd from pointing at an unsigned relay binary, it:
- Writes `~/.clawdbot/disable-launchagent`.
- Sets `clawdbot.gateway.attachExistingOnly=true` in the macOS app defaults.
Signed runs of `scripts/restart-mac.sh` clear these overrides if the marker is
present. To reset manually:
```bash
rm ~/.clawdbot/disable-launchagent
defaults write com.clawdbot.mac clawdbot.gateway.attachExistingOnly -bool NO
```
## Remote mode
Remote mode never starts a local Gateway. The app uses an SSH tunnel to the