Open-source AI podcast clipper. Generate vertical clips with face tracking and burned-in captions. CLI, MCP server, web app.
Python ai-toolsauto-captionscaptionscliffmpegmcpmcp-serveropusclip-alternativepodcast-clipspodcastsshortform-videovertical-videowhisper
fix: detect Python correctly on Windows (#6)
harisfahrurozi263cb1875e6572
diff --git a/src/config/paths.ts b/src/config/paths.tsindex 9cc70b3..1535c02 100644--- a/src/config/paths.ts+++ b/src/config/paths.ts@@ -29,9 +29,15 @@ const home = resolveHome();function detectPython(): string {if (process.env.PYTHON_PATH) return process.env.PYTHON_PATH;- const venvPython = join(projectRoot, "venv", "bin", "python3");+ const isWindows = process.platform === "win32";+ const venvPython = join(+ projectRoot,+ "venv",+ isWindows ? "Scripts" : "bin",+ isWindows ? "python.exe" : "python3"+ );if (existsSync(venvPython)) return venvPython;- return "python3";+ return isWindows ? "python" : "python3";}export const paths = {