From efe947507b494fa46959a7ebf062d013dcd072b4 Mon Sep 17 00:00:00 2001 From: Igor Bernstein Date: Fri, 28 Aug 2026 20:19:13 -0400 Subject: [PATCH] templates: apply the tvOS setup reorder to the served /apple page The instructions are duplicated between the docs and the HTML page headscale serves at /apple. Reorder the tvOS steps there to match, so the VPN configuration is installed before the alternate coordination server URL is set. --- hscontrol/templates/apple.go | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/hscontrol/templates/apple.go b/hscontrol/templates/apple.go index 8376b19a5..25e19fcf9 100644 --- a/hscontrol/templates/apple.go +++ b/hscontrol/templates/apple.go @@ -146,6 +146,22 @@ func Apple(url string) *elem.Element { elem.Text("Install the official Tailscale tvOS client from the "), externalLink("https://apps.apple.com/app/tailscale/id1470499037", "App Store"), ), + elem.Li( + nil, + elem.Text("Open "), + elem.Strong(nil, elem.Text("Tailscale")), + ), + elem.Li( + nil, + elem.Text("Select "), + elem.Strong(nil, elem.Text("Install VPN configuration")), + ), + elem.Li( + nil, + elem.Text("Select "), + elem.Strong(nil, elem.Text("Allow")), + elem.Text(", but don't sign in yet"), + ), elem.Li( nil, elem.Text("Open "), @@ -166,23 +182,9 @@ func Apple(url string) *elem.Element { nil, elem.Text("Return to the tvOS "), elem.Strong(nil, elem.Text("Home")), - elem.Text(" screen"), - ), - elem.Li( - nil, - elem.Text("Open "), + elem.Text(" screen and open "), elem.Strong(nil, elem.Text("Tailscale")), ), - elem.Li( - nil, - elem.Text("Select "), - elem.Strong(nil, elem.Text("Install VPN configuration")), - ), - elem.Li( - nil, - elem.Text("Select "), - elem.Strong(nil, elem.Text("Allow")), - ), elem.Li( nil, elem.Text("Scan the QR code and follow the login procedure"),