MCPcopy
hub / github.com/lightningpixel/modly / getEmbeddedPythonDir

Function getEmbeddedPythonDir

electron/main/python-setup.ts:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50// ─── Path helpers ─────────────────────────────────────────────────────────────
51
52export function getEmbeddedPythonDir(): string {
53 if (app.isPackaged) return join(process.resourcesPath, 'python-embed')
54 return join(app.getAppPath(), 'resources', 'python-embed')
55}
56
57export function getEmbeddedPythonExe(): string {
58 const dir = getEmbeddedPythonDir()

Callers 2

getEmbeddedPythonExeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected