tailscale/safesocket
Brad Fitzpatrick 21413392cf 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>
2022-04-25 21:47:00 -07:00
..
basic_test.go safesocket: add ConnectionStrategy, provide control over fallbacks 2021-12-09 15:46:38 -08:00
pipe_windows.go safesocket: add ConnectionStrategy, provide control over fallbacks 2021-12-09 15:46:38 -08:00
safesocket_darwin.go safesocket: actually fix CLI on macsys build 2021-09-24 13:58:26 -07:00
safesocket_js.go safesocket: add ConnectionStrategy, provide control over fallbacks 2021-12-09 15:46:38 -08:00
safesocket_ps.go all: minor code cleanup 2021-12-09 15:46:38 -08:00
safesocket_test.go safesocket: refactor macOS auth code, pull out separate LocalTCPPortAndToken 2021-01-29 14:34:57 -08:00
safesocket.go safesocket: add ConnectionStrategy, provide control over fallbacks 2021-12-09 15:46:38 -08:00
unixsocket.go safesocket: fix CLI on standalone mac GUI build 2022-04-25 21:47:00 -07:00