MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / getStorkExecutableTarget

Function getStorkExecutableTarget

helpers/stork/executable.js:14–25  ·  view source on GitHub ↗
( {
    platform = process.platform,
    arch = process.arch
} = {} )

Source from the content-addressed store, hash-verified

12
13// Netlify's Ubuntu 24 (Noble) image needs the OpenSSL 3 compatible binary.
14export function getStorkExecutableTarget ( {
15 platform = process.platform,
16 arch = process.arch
17} = {} ) {
18 if ( platform === 'darwin' ) {
19 if ( arch === 'arm64' ) return 'stork-macos-13-arm'
20
21 return 'stork-macos-10-15'
22 }
23
24 return 'stork-ubuntu-22-04'
25}
26
27// https://stork-search.net/docs/install
28export function getStorkExecutableDownloadUrl ( options = {} ) {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected