MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / currentTargetPackage

Function currentTargetPackage

apps/desktop/scripts/build-sidecar.ts:19–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 platform === "win32" ? "windows" : platform;
18
19const currentTargetPackage = (): string =>
20 `executor-${platformName(process.platform)}-${process.arch}`;
21
22const targetPackageFromBunTarget = (target: string | undefined): string | null => {
23 if (!target || target === "bun") return null;

Callers 1

build-sidecar.tsFile · 0.85

Calls 1

platformNameFunction · 0.70

Tested by

no test coverage detected