mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-01 14:12:32 -08:00
The Windowed UI depends on the Windows App Runtime, which cannot be installed unless app sideloading or Developer Mode is enabled. Sideloading is disabled by default on Windows builds older than 19041, and can be disabled by the user or by policy on newer ones. Add winutil.GetSideloadingState to read the settings, log the result when tailscaled starts, and add gauges for sideloading being disabled by policy, by the user or by default. Builds older than 17763 cannot run the Windows App Runtime at all, so they are reported as unsupported and do not count towards any of the gauges. Updates tailscale/corp#52316 Signed-off-by: Nick Khyl <[email protected]>