Documentation
¶
Overview ¶
Package windowssoftware prepares vendor installers and their accompanying files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Icon ¶ added in v0.3.0
Icon extracts the application artwork a prepared installer carries: the icon an MSI registers for Programs and Features, or the first icon group of a setup executable. Installers without one report icon.ErrNoArtwork.
func Prepare ¶
func Prepare(ctx context.Context, spec Spec, inputs map[string]plugin.Artifact, workspace string, deriveSignature bool) (artifacts map[string]plugin.Artifact, err error)
Prepare assembles the setup content. DeriveSignature verifies the setup file against its observed publisher instead of the configured one.
Types ¶
type Spec ¶
type Spec struct {
Source plugin.Input `` /* 234-byte string literal not displayed */
// SetupFile selects the setup entry point within the setup directory.
SetupFile string `` /* 361-byte string literal not displayed */
// VersionFile selects the managed version from the setup MSI's File table.
VersionFile string `` /* 260-byte string literal not displayed */
Content *Content `` /* 149-byte string literal not displayed */
Signatures []signature.Expectation `` /* 252-byte string literal not displayed */
// Icon names the catalog asset icons/<name>.png that destinations publish;
// documents that name the same asset share it.
Icon string `` /* 237-byte string literal not displayed */
Destinations map[string]map[string]any `` /* 129-byte string literal not displayed */
Subjects map[string]plugin.SubjectSelector `` /* 154-byte string literal not displayed */
}
Click to show internal directories.
Click to hide internal directories.