MCPcopy
hub / github.com/CapSoftware/Cap / openDeepLink

Function openDeepLink

scripts/verify-recording-pipeline.mjs:651–663  ·  view source on GitHub ↗
(name, action)

Source from the content-addressed store, hash-verified

649}
650
651async function openDeepLink(name, action) {
652 const value = JSON.stringify(action);
653 const url = `cap-desktop://action?value=${encodeURIComponent(value)}`;
654 if (desktopExecPath) {
655 await runCommand(name, desktopExecPath, [url]);
656 return;
657 }
658
659 const args = desktopAppPath
660 ? ["-a", desktopAppPath, url]
661 : ["-b", desktopBundleId, url];
662 await runCommand(name, "open", args);
663}
664
665async function launchDesktopApp() {
666 if (desktopExecPath) {

Callers 1

verifyDesktopFunction · 0.85

Calls 1

runCommandFunction · 0.85

Tested by

no test coverage detected