MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / simdeckBinary

Function simdeckBinary

scripts/studio-host-provider.mjs:652–661  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

650}
651
652function simdeckBinary() {
653 if (process.env.SIMDECK_BINARY) {
654 return process.env.SIMDECK_BINARY;
655 }
656 const sourceBinary = path.join(packageRoot, "build", "simdeck");
657 if (fs.existsSync(sourceBinary)) {
658 return sourceBinary;
659 }
660 return path.join(packageRoot, "build", "simdeck-bin");
661}
662
663async function execJson(command, args) {
664 return JSON.parse(await execText(command, args));

Callers 2

ensureServiceFunction · 0.85
serviceStatusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected