Function downloadArtifact

  • Downloads an artifact from an Electron release and returns an absolute path to the downloaded file.

    Each release of Electron comes with artifacts, many of which are platform/arch-specific (e.g. ffmpeg-v31.0.0-darwin-arm64.zip) and others that are generic (e.g. SHASUMS256.txt).

    Parameters

    Returns Promise<string>