version: detect tvOS by checking XPC_SERVICE_NAME (#8295)

Another change needed working towards #8282.

Updates https://github.com/tailscale/tailscale/issues/8282

Signed-off-by: Andrea Gottardo <andrea@tailscale.com>
This commit is contained in:
Andrea Gottardo
2023-06-07 12:19:31 -07:00
committed by GitHub
parent f8f0b981ac
commit 1c4a047ad0
2 changed files with 18 additions and 0 deletions

View File

@@ -588,6 +588,8 @@ func osEmoji(os string) string {
return "🖥️"
case "iOS":
return "📱"
case "tvOS":
return "🍎📺"
case "android":
return "🤖"
case "freebsd":