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

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

No files matched your search

+16
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 don’t 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