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

Function enclosingAppBundlePath

apps/cli/src/service.ts:227–230  ·  view source on GitHub ↗
(executablePath: string)

Source from the content-addressed store, hash-verified

225const DESKTOP_APP_BUNDLE_IDENTIFIER = "sh.executor.desktop";
226
227const enclosingAppBundlePath = (executablePath: string): string | null => {
228 const match = executablePath.match(/^(.*\.app)\/Contents\//);
229 return match?.[1] ?? null;
230};
231
232const readBundleIdentifier = (appBundlePath: string): string | null => {
233 try {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected