tailscale/cmd/tailscale
Brad Fitzpatrick f42ded7acf cmd/tailscale/cli: relax & improve the running-as-CLI check for macOS
On macOS, we link the CLI into the GUI executable so it can be included in
the Mac App Store build.

You then need to run it like:

/Applications/Tailscale.app/Contents/MacOS/Tailscale <command>

But our old detection of whether you're running that Tailscale binary
in CLI mode wasn't accurate and often bit people. For instance, when
they made a typo, it then launched in GUI mode and broke their
existing GUI connection (starting a new IPNExtension) and took down
their network.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-20 09:18:33 -07:00
..
cli cmd/tailscale/cli: relax & improve the running-as-CLI check for macOS 2021-04-20 09:18:33 -07:00
depaware.txt client/tailscale/apitype: move local API types to new apitype package 2021-04-13 08:13:46 -07:00
tailscale.go cmd/tailscale: add web subcommand 2021-03-29 12:13:19 -07:00