tailscale/safesocket
Brad Fitzpatrick 70a6d87b16 safesocket: fix CLI on standalone mac GUI build
Tested three macOS Tailscale daemons:

- App Store (Network Extension)
- Standalone (macsys)
- tailscaled

And two types of local IPC each:

- IPN
- HTTP

And two CLI modes:

- sandboxed (running the GUI binary as the CLI; normal way)
- open source CLI hitting GUI (with #4525)

Bonus: simplifies the code.

Fixes tailscale/corp#4559

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
(cherry picked from commit 21413392cf45c66a7a03c3781e3b76301fbede0f)
2022-04-27 12:16:17 -07:00
..
2021-12-09 15:46:38 -08:00