diff options
| author | Jonathan Nobels <jnobels@gmail.com> | 2026-01-20 15:05:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-20 15:05:03 -0500 |
| commit | e30626c480535b77a5dc332cc5af2454ac8a5d77 (patch) | |
| tree | 8ff1a4297e4d3a5f0f36135da477f7e242fae7c5 /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | 0a5639dcc008d60fe375a6707be1fec1ffc2ec53 (diff) | |
| download | tailscale-e30626c480535b77a5dc332cc5af2454ac8a5d77.tar.xz tailscale-e30626c480535b77a5dc332cc5af2454ac8a5d77.zip | |
version: add support for reporting the mac variant from tailscale --version (#18462)
fixes tailscale/corp#27182
tailscale version --json now includes an osVariant field that will report
one of macsys, appstore or darwin. We can extend this to other
platforms where tailscaled can have multiple personalities.
This also adds the concept of a platform-specific callback for querying
an explicit application identifier. On Apple, we can use
CFBundleGetIdentifier(mainBundle) to get the bundle identifier via cgo.
This removes all the ambiguity and lets us remove other less direct
methods (like env vars, locations, etc).
Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
