The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix: resolve Windows Store python alias in code execution
PurpleDoubleD86cfd435d9da
diff --git a/vite.config.ts b/vite.config.tsindex 68dfdadb..d31c819e 100644--- a/vite.config.ts+++ b/vite.config.ts@@ -523,7 +523,16 @@ function comfyLauncher(): Plugin {let stderr = ''let killed = false- const proc = spawn(process.platform === 'win32' ? 'python' : 'python3', ['-c', code], {+ const pythonBin = (() => {+ if (process.platform !== 'win32') return 'python3'+ try {+ const { execSync } = require('child_process')+ const paths = execSync('where python', { encoding: 'utf8' }).trim().split('\n')+ const real = paths.find((p) => !p.includes('WindowsApps'))+ return real ? real.trim() : 'python'+ } catch { return 'python' }+ })()+ const proc = spawn(pythonBin, ['-c', code], {cwd: tmpDir,stdio: ['ignore', 'pipe', 'pipe'],shell: false,