MCPcopy Index your code
hub / github.com/anomalyco/opencode / resolveAppPath

Function resolveAppPath

packages/desktop/src/main/apps.ts:19–22  ·  view source on GitHub ↗
(appName: string)

Source from the content-addressed store, hash-verified

17}
18
19export function resolveAppPath(appName: string) {
20 if (process.platform !== "win32") return appName
21 return resolveWindowsAppPath(appName)
22}
23
24async function checkMacosApp(appName: string) {
25 const locations = [`/Applications/${appName}.app`, `/System/Applications/${appName}.app`]

Callers 1

index.tsFile · 0.90

Calls 1

resolveWindowsAppPathFunction · 0.85

Tested by

no test coverage detected