Skip to main content

Interface: ElectronGetOptions

Extends

  • Omit<ElectronPlatformArtifactDetails, "platform" | "arch" | "version" | "artifactName" | "artifactSuffix" | "customFilename" | "tempDirectory" | "downloader" | "cacheMode" | "cacheRoot" | "downloadOptions" | "isGeneric" | "mirrorOptions">

Properties

checksums?

optional checksums?: Record<string, string>

Provides checksums for the artifact as strings. Can be used if you already know the checksums of the Electron artifact you are downloading and want to skip the checksum file download without skipping the checksum validation.

This should be an object whose keys are the file names of the artifacts and the values are their respective SHA256 checksums.

Example

{
"electron-v4.0.4-linux-x64.zip": "877617029f4c0f2b24f3805a1c3554ba166fda65c4e88df9480ae7b6ffa26a22"
}

Inherited from

Omit.checksums


mirrorOptions?

optional mirrorOptions?: Omit<MirrorOptions, "customFilename" | "customDir" | "customVersion">


unsafelyDisableChecksums?

optional unsafelyDisableChecksums?: boolean

When set to true, disables checking that the artifact download completed successfully with the correct payload.

Default Value

false

Inherited from

Omit.unsafelyDisableChecksums