( {
platform = process.platform,
arch = process.arch
} = {} )
| 12 | |
| 13 | // Netlify's Ubuntu 24 (Noble) image needs the OpenSSL 3 compatible binary. |
| 14 | export 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 |
| 28 | export function getStorkExecutableDownloadUrl ( options = {} ) { |
no outgoing calls
no test coverage detected