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/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>
1 year ago
..
authenticode
policy
mksyscall.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 1 year ago
svcdiag_windows.go
winutil.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 1 year ago
winutil_notwindows.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 1 year ago
winutil_windows.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 1 year ago
winutil_windows_test.go
zsyscall_windows.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 1 year ago