Split any YouTube song into stems
TypeScript
v0.1.9: private python runtime auto-download + STEMKIT_FORCE_RUNTIME test hook
Daniel Ravina55f32e4c0e57
diff --git a/package.json b/package.jsonindex 5541bb8..cea7dc8 100644--- a/package.json+++ b/package.json@@ -1,7 +1,7 @@{"name": "stemkit","productName": "StemKit",- "version": "0.1.8",+ "version": "0.1.9","description": "Local YouTube stem splitter and player","main": "./out/main/index.js","author": "daniel",diff --git a/src/main/env.ts b/src/main/env.tsindex 9a8f347..2b4ab72 100644--- a/src/main/env.ts+++ b/src/main/env.ts@@ -249,7 +249,9 @@ export async function detectTools(): Promise<void> {const probes: PyProbe[] = []const candidates: string[] = []if (existsSync(runtimePython())) candidates.push(runtimePython())- candidates.push(...pyCandidates())+ // STEMKIT_FORCE_RUNTIME=1 ignores system python so the private-runtime+ // download path can be exercised on machines that have python installed+ if (process.env.STEMKIT_FORCE_RUNTIME !== '1') candidates.push(...pyCandidates())for (const candidate of candidates) {if (!existsSync(candidate)) continuetry {