Skip to main content

Interface: UpdateFileInfo

Extends​

Properties​

blockMapSize?​

optional blockMapSize?: number

The block map file size. Used when block map data is embedded into the file (appimage, windows web installer package). This information can be obtained from the file itself, but it requires additional HTTP request, so, to reduce request count, block map size is specified in the update metadata too.

Inherited from​

BlockMapDataHolder.blockMapSize


blockMapUrl?​

optional blockMapUrl?: string

URL of the file's blockmap, for a blockmap that is not at ${url}.blockmap with the file's query string (e.g. a separately pre-signed URL). A relative value is resolved like url (against the feed URL); an absolute URL is used as-is, with its own host and query. Not written by electron-builder; covered by the manifest signature when present.


isAdminRightsRequired?​

readonly optional isAdminRightsRequired?: boolean

Inherited from​

BlockMapDataHolder.isAdminRightsRequired


sha512​

readonly sha512: string

The file checksum.

Inherited from​

BlockMapDataHolder.sha512


size?​

optional size?: number

The file size. Used to verify downloaded size (save one HTTP request to get length). Also used when block map data is embedded into the file (appimage, windows web installer package).

Inherited from​

BlockMapDataHolder.size


url​

url: string