Skip to content

Instantly share code, notes, and snippets.

@koumaza
Last active July 24, 2020 08:34
Show Gist options
  • Save koumaza/3b6996f5dc7c79edae269de21a4b1e93 to your computer and use it in GitHub Desktop.
Save koumaza/3b6996f5dc7c79edae269de21a4b1e93 to your computer and use it in GitHub Desktop.
Winget Manifest Template
License
WTFPL
## <-- Note --> ##

### 

## <-- General --> ##

# Version number format for manifest version.
ManifestVersion: string

# Publisher.package format.
Id: string
# The name of the publisher.
Publisher: string
# The name of the application.
Name: string 
# The common name someone may use to search for the package.
AppMoniker: string

# Version numbering format for package version.
Version: string
# A string representing the flight ring.
Channel: string

# The open source license or copyright.
License: string
# Valid secure URL to license.
LicenseUrl: string

# Version numbering format for minimum version of Windows supported.
MinOSVersion: string

# Description of the package.
Description: string
# Valid secure URL for the package.
Homepage: string

# Additional strings a user would use to search for the package.
Tags: list
# List of file extensions the package could support.
FileExtensions: list
# List of protocols the package provides a handler for.
Protocols: list
# List of commands or aliases the user would use to run the package.
Commands: list

## <-- Installer --> ##

# Enumeration of supported installer types (exe, msi, msix, inno, wix, nullsoft, appx).
InstallerType: string
# Custom switches passed to the installer.
Custom: string
# Switches passed to the installer for silent installation.
Silent: string
# Switches passed to the installer for non-interactive install.
SilentWithProgress: string
# Experimental.
Interactive: string
# Experimental.
Language: string
# Specifies log redirection switches and path.
Log: string
# Specifies alternate location to install package.
InstallLocation: string
# Nested map of keys for specific installer.
Installers:
  # Enumeration of supported architectures.
  - Arch: string
  # Path to download installation file.
    Url: string
  # SHA256 calculated from installer.
    Sha256: string
  # SHA256 calculated from signature file's hash of MSIX file.
    SignatureSha256: string
  # Collection of entries to override root keys. The primary supported values are: Custom, Silent, SilentWithProgress, Interactive. For a complete list see the specification at https://github.com/microsoft/winget-cli/blob/master/doc/ManifestSpecv0.1.md.
    Switches:
  # Experimental.
    Scope: string
  # Experimental.
    SystemAppId: string
# Nested map of keys for localization.
Localization:
  # Locale for display fields and localized URLs.
  - Language: string
 
## <-- Manifest Maintainer --> ##
### USER <EMAIL>

## <-- Misc --> ##
### Template Here: https://gist.github.com/koumaza/3b6996f5dc7c79edae269de21a4b1e93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment