Skip to content

Repository script API / dev / resolvePumpkinBinary

Function: resolvePumpkinBinary() ​

resolvePumpkinBinary(__namedParameters): Promise<{ binary: any; release: any; }>

Defined in: dev.mjs:209

Resolves the newest stable or nightly Pumpkin binary, verifies its checksum, and caches it.

Parameters ​

__namedParameters ​

arch? ​

any = process.arch

env? ​

any = process.env

fetchImpl? ​

(input, init?) => Promise<Response> = fetch

nightly? ​

boolean = false

now? ​

() => number = Date.now

platform? ​

any = process.platform

root ​

any

Returns ​

Promise<{ binary: any; release: any; }>

Pumpkin Plugins documentation