tailscale/hostinfo
shayne 6f992909f0
hostinfo: [windows] check if running via Scoop (#7068)
You can now install Tailscale on Windows via [Scoop](https://scoop.sh).

This change adds a check to `packageTypeWindows()`, looking at the exe's path, and
checking if it starts with: `C:\User\<NAME>\scoop\apps\tailscale`. If so, it
returns `"scoop"` as the package type.

Fixes: #6988

Signed-off-by: Shayne Sweeney <shayne@tailscale.com>
2023-01-25 16:58:23 -05:00
..
hostinfo_darwin.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
hostinfo_freebsd.go types/ptr: move all the ptrTo funcs to one new package's ptr.To 2022-11-30 17:50:51 -08:00
hostinfo_linux_test.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
hostinfo_linux.go types/ptr: move all the ptrTo funcs to one new package's ptr.To 2022-11-30 17:50:51 -08:00
hostinfo_test.go hostinfo, control/controlclient: tell control when Ubuntu has disabled Tailscale's sources 2021-11-10 09:56:58 -08:00
hostinfo_uname.go tailcfg,hostinfo: add Hostinfo.Machine and Hostinfo.GoArchVar 2023-01-22 14:13:56 -08:00
hostinfo_windows.go hostinfo: [windows] check if running via Scoop (#7068) 2023-01-25 16:58:23 -05:00
hostinfo.go hostinfo: add an environment type for Replit 2023-01-24 14:43:06 +00:00