Skip to main content

Interface: UpdateInfo

Extended by​

Properties​

files​

readonly files: UpdateFileInfo[]


minimumSystemVersion?​

readonly optional minimumSystemVersion?: string

The minimum version of system required for the app to run. Sample value: macOS 23.1.0, Windows 10.0.22631. Same with os.release() value, this is a kernel version.


path?​

readonly optional path?: string

Legacy top-level download descriptor for electron-updater 1.x – 2.15.0. Modern clients read files. Only emitted when electronUpdaterCompatibility includes legacy clients, so it may be absent.

Deprecated​


releaseDate​

releaseDate: string

The release date.


releaseName?​

optional releaseName?: string | null

The release name.


releaseNotes?​

optional releaseNotes?: string | ReleaseNoteInfo[] | null

The release notes. List if updater.fullChangelog is set to true, string otherwise.


sha512?​

readonly optional sha512?: string

Legacy top-level checksum for electron-updater 1.x – 2.15.0. Modern clients read files[].sha512. Only emitted when electronUpdaterCompatibility includes legacy clients, so it may be absent.

Deprecated​


signature?​

readonly optional signature?: string

Base64-encoded Ed25519 signature over the manifest's integrity-critical fields, populated at publish time when update manifest signing is enabled. Verified by electron-updater against the configured updateManifestPublicKey before any download starts. See canonicalizeForSigning.

Always the signature of the first configured signing key; signatures carries the same value (tagged with its key id) plus one entry per additional signing key. Kept so updaters that only know this single-signature form keep verifying.


signatures?​

readonly optional signatures?: UpdateManifestSignature[]

One Ed25519 signature per signing key the manifest was signed with, each tagged with the id of the key that produced it (see computeUpdateManifestKeyId). All entries sign the same canonical payload. A manifest carrying several entries is "dual-signed": an install verifies it as long as any of its trusted keys matches any entry, which is what makes key rotation possible without a flag day.


stagingPercentage?​

readonly optional stagingPercentage?: number

The staged rollout percentage, 0-100.


version​

readonly version: string

The version.