MCPcopy Create free account
hub / github.com/modem-dev/hunk / binaryFilenameForSpec

Function binaryFilenameForSpec

scripts/prebuilt-package-helpers.ts:123–125  ·  view source on GitHub ↗
(spec: PlatformPackageSpec)

Source from the content-addressed store, hash-verified

121
122/** Return the executable filename for a platform package. */
123export function binaryFilenameForSpec(spec: PlatformPackageSpec) {
124 return spec.os === "windows" ? `${spec.binaryName}.exe` : spec.binaryName;
125}
126
127/**
128 * Build the published manifest for one prebuilt platform package.

Callers 8

stagePlatformPackageFunction · 0.90
collectArtifactSpecsFunction · 0.90
createTestRepoFunction · 0.90
stagePrebuiltArtifactFunction · 0.90

Calls

no outgoing calls

Tested by 1

createTestRepoFunction · 0.72