The open-source AI voice studio. Clone, dictate, create.
fix(build): build voicebox-mcp shim sidecar on Windows (#794)
namuda484a39ad9f45
diff --git a/justfile b/justfileindex 15a61cb2..4550d263 100644--- a/justfile+++ b/justfile@@ -226,12 +226,16 @@ build-server: _ensure-venvbuild-server: _ensure-venv$ErrorActionPreference = "Stop"; \$env:PATH = "{{ venv_bin }};$env:PATH"; \- & "{{ python }}" backend/build_binary.py; \- if ($LASTEXITCODE -ne 0) { throw "build_binary.py failed with exit code $LASTEXITCODE" }; \$triple = (rustc --print host-tuple); \New-Item -ItemType Directory -Path "{{ tauri_dir }}/src-tauri/binaries" -Force | Out-Null; \+ & "{{ python }}" backend/build_binary.py; \+ if ($LASTEXITCODE -ne 0) { throw "build_binary.py failed with exit code $LASTEXITCODE" }; \Copy-Item "backend/dist/voicebox-server.exe" "{{ tauri_dir }}/src-tauri/binaries/voicebox-server-$triple.exe" -Force; \- Write-Host "Copied sidecar: voicebox-server-$triple.exe"+ Write-Host "Copied sidecar: voicebox-server-$triple.exe"; \+ & "{{ python }}" backend/build_binary.py --shim; \+ if ($LASTEXITCODE -ne 0) { throw "build_binary.py --shim failed with exit code $LASTEXITCODE" }; \+ Copy-Item "backend/dist/voicebox-mcp.exe" "{{ tauri_dir }}/src-tauri/binaries/voicebox-mcp-$triple.exe" -Force; \+ Write-Host "Copied sidecar: voicebox-mcp-$triple.exe"# Build CUDA server binary and place in app data dir for local testing[windows]