Function download

  • Downloads the Electron binary for a specific version and returns an absolute path to a ZIP file.

    Parameters

    • version: string

      The version of Electron you want to download (e.g. 31.0.0)

    • Optional options: ElectronDownloadRequestOptions

      Options to customize the download behavior

    Returns Promise<string>

    An absolute path to the downloaded ZIP file