Help us shape the future of Go! Take the 2026 Go Developer Survey

windowssoftware

package
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: Apache-2.0, MIT Imports: 21 Imported by: 0

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

func Icon(ctx context.Context, installer plugin.Artifact) (icon.Subject, error)

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 Content

type Content struct {
	Files map[string]plugin.Input `` /* 170-byte string literal not displayed */
}

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 */
}

func (Spec) Validate

func (s Spec) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL