MCPcopy Create free account
hub / github.com/freecodexyz/free-code / isRunningFromLocalInstallation

Function isRunningFromLocalInstallation

src/utils/localInstaller.ts:29–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 * Check if we're running from our managed local installation
28 */
29export function isRunningFromLocalInstallation(): boolean {
30 const execPath = process.argv[1] || ''
31 return execPath.includes('/.claude/local/node_modules/')
32}
33
34/**
35 * Write `content` to `path` only if the file does not already exist.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected