tailscale/util/winutil
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>
2023-08-22 15:06:48 -06:00
..
authenticode util/winutil/authenticode: add missing docs for CertSubjectError 2023-08-14 11:07:12 -06:00
policy various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
mksyscall.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 2023-08-22 15:06:48 -06:00
svcdiag_windows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
winutil_notwindows.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 2023-08-22 15:06:48 -06:00
winutil_windows_test.go go.mod, cmd/tailscaled, ipn/localapi, util/osdiag, util/winutil, util/winutil/authenticode: add Windows module list to OS-specific logs that are written upon bugreport 2023-08-03 11:33:14 -06:00
winutil_windows.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 2023-08-22 15:06:48 -06:00
winutil.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 2023-08-22 15:06:48 -06:00
zsyscall_windows.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 2023-08-22 15:06:48 -06:00