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

Function checkAppExists

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

Source from the content-addressed store, hash-verified

11 .catch(() => false)
12
13export function checkAppExists(appName: string) {
14 if (process.platform === "win32") return true
15 if (process.platform === "linux") return true
16 return checkMacosApp(appName)
17}
18
19export function resolveAppPath(appName: string) {
20 if (process.platform !== "win32") return appName

Callers 1

index.tsFile · 0.90

Calls 1

checkMacosAppFunction · 0.85

Tested by

no test coverage detected