mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
clientupdate: clarify how to run update as Administrator on Windows (#10043)
Make the error message a bit more helpful for users. Updates #9456 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
This commit is contained in:
parent
01604c06d2
commit
7f16e000c9
@ -722,7 +722,12 @@ func (up *Updater) updateWindows() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !winutil.IsCurrentProcessElevated() {
|
if !winutil.IsCurrentProcessElevated() {
|
||||||
return errors.New("must be run as Administrator")
|
return errors.New(`update must be run as Administrator
|
||||||
|
|
||||||
|
you can run the command prompt as Administrator one of these ways:
|
||||||
|
* right-click cmd.exe, select 'Run as administrator'
|
||||||
|
* press Windows+x, then press a
|
||||||
|
* press Windows+r, type in "cmd", then press Ctrl+Shift+Enter`)
|
||||||
}
|
}
|
||||||
if !up.confirm(ver) {
|
if !up.confirm(ver) {
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user