Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FinalizeStagedWindowsUpdate ¶
func FinalizeStagedWindowsUpdate() error
FinalizeStagedWindowsUpdate attempts to apply a previously staged Windows update. It is safe to call on non-Windows platforms (no-op) and errors are returned for callers who wish to handle them. Most callers can ignore the error.
Types ¶
type Source ¶
type Source struct {
Version string
ReleaseTag string
AssetURL string
AssetName string
Checksum string
ChecksumURL string
Channel string
ExpectedSize int64
}
Source describes where an update should be downloaded from. When AssetURL is provided, the updater downloads directly from that URL. Otherwise, ReleaseTag (or Version) is used to locate the asset on GitHub.
Click to show internal directories.
Click to hide internal directories.