You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util
Aaron Klotz ea693eacb6 util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager
In order for the installer to restart the GUI correctly post-upgrade, we
need the GUI to be able to register its restart preferences.

This PR adds API support for doing so. I'm adding it to OSS so that it
is available should we need to do any such registrations on OSS binaries
in the future.

Updates https://github.com/tailscale/corp/issues/13998

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
1 year ago
..
cibuild all: update copyright and license headers 2 years ago
clientmetric util/clientmetric: allow client metric values to be provided by a function 2 years ago
cloudenv all: update copyright and license headers 2 years ago
cmpver all: update copyright and license headers 2 years ago
cmpx all: update exp/slices and fix call sites 1 year ago
codegen util/codegen: support embedded fields 2 years ago
cstruct all: update copyright and license headers 2 years ago
deephash util/deephash: relax an annoyingly needy test 1 year ago
dirwalk all: use tstest.Replace more 2 years ago
dnsname cmd/tailscale: extend hostname validation (#7678) 2 years ago
goroutines util/goroutines: let ScrubbedGoroutineDump get only current stack 1 year ago
groupmember all: update copyright and license headers 2 years ago
hashx all: update copyright and license headers 2 years ago
httpm all: update copyright and license headers 2 years ago
jsonutil all: update copyright and license headers 2 years ago
lineread all: update copyright and license headers 2 years ago
linuxfw util/linuxfw: fix typo in unexported doc comment 1 year ago
lru util/lru: add a package for a typed LRU cache 1 year ago
mak various: add golangci-lint, fix issues (#7905) 2 years ago
multierr all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
must all: update copyright and license headers 2 years ago
osdiag all: import x/exp/maps as xmaps to distinguish from Go 1.21 "maps" 1 year ago
osshare all: update copyright and license headers 2 years ago
pidowner all: update copyright and license headers 2 years ago
precompress all: update copyright and license headers 2 years ago
quarantine all: update copyright and license headers 2 years ago
racebuild all: update copyright and license headers 2 years ago
ringbuffer util/ringbuffer: move generic ringbuffer from corp repo 2 years ago
set all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
singleflight all: update copyright and license headers 2 years ago
slicesx all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
sysresources util/sysresources, magicsock: scale DERP buffer based on system memory 2 years ago
systemd all: update copyright and license headers 2 years ago
testenv util/testenv: add new package to hold InTest 1 year ago
truncate util: add truncate package (#7490) 2 years ago
uniq all: update copyright and license headers 2 years ago
vizerror util/vizerror: add As function to get wrapped Error 2 years ago
winutil util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 1 year ago