You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/version
Andrea Gottardo 6288c9b41e
version/prop: remove IsMacAppSandboxEnabled (#11461)
Fixes tailscale/corp#18441

For a few days, IsMacAppStore() has been returning `false` on App Store builds (IPN-macOS target in Xcode).

I regressed this in #11369 by introducing logic to detect the sandbox by checking for the APP_SANDBOX_CONTAINER_ID environment variable. I thought that was a more robust approach instead of checking the name of the executable. However, it appears that on recent macOS versions this environment variable is no longer getting set, so we should go back to the previous logic that checks for the executable path, or HOME containing references to macsys.

This PR also adds additional checks to the logic by also checking XPC_SERVICE_NAME in addition to HOME where possible. That environment variable is set inside the network extension, either macos or macsys and is good to look at if for any reason HOME is not set.
8 months ago
..
distro cmd/tailscale/cli,version/distro: update support for Alpine (#8701) 1 year ago
mkversion version/mkversion: enforce synology versions within int32 range 9 months ago
.gitignore
cmdname.go all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2 years ago
cmdname_ios.go all: update copyright and license headers 2 years ago
cmp.go all: update copyright and license headers 2 years ago
cmp_test.go all: update copyright and license headers 2 years ago
export_test.go all: update copyright and license headers 2 years ago
modinfo_test.go all: cleanup unused code, part 1 (#10661) 11 months ago
print.go version: make all exported funcs compile-time constant or lazy 2 years ago
prop.go version/prop: remove IsMacAppSandboxEnabled (#11461) 8 months ago
race.go all: update copyright and license headers 2 years ago
race_off.go all: update copyright and license headers 2 years ago
version.go version: properly handle vcs.modified when it's "false" 2 years ago
version_test.go version: make all exported funcs compile-time constant or lazy 2 years ago