summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorshayne <shayne@tailscale.com>2023-01-25 16:58:23 -0500
committerGitHub <noreply@github.com>2023-01-25 16:58:23 -0500
commit6f992909f041da3875f9a7655e6dc5df01f533f0 (patch)
tree8de8baa2c85c4e69b1f93df0faca14ff9c3eb10d /control/controlknobs/controlknobs.go
parent038d25bd042b59f0f6801ce4a0f88704c7d9e908 (diff)
downloadtailscale-6f992909f041da3875f9a7655e6dc5df01f533f0.tar.xz
tailscale-6f992909f041da3875f9a7655e6dc5df01f533f0.zip
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>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions