"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
Prefer packaging Python runtime for desktop builds
Copilot Appf1795e8a1c30
diff --git a/desktop/electron/scripts/build-backend.ps1 b/desktop/electron/scripts/build-backend.ps1index 98bff72e5..3fcd23862 100644--- a/desktop/electron/scripts/build-backend.ps1+++ b/desktop/electron/scripts/build-backend.ps1@@ -95,11 +95,12 @@ function Resolve-SevenZip {}if (-not $BuildPython) {- $repoVenvPython = Join-Path $repoRoot '.venv\Scripts\python.exe'- if (Test-Path -LiteralPath $repoVenvPython) {- $BuildPython = $repoVenvPython- }- else {+ $pythonCandidates = @(+ (Join-Path $repoRoot '.packaging-venv\Scripts\python.exe'),+ (Join-Path $repoRoot '.venv\Scripts\python.exe')+ )+ $BuildPython = $pythonCandidates | Where-Object { Test-Path -LiteralPath $_ } | Select-Object -First 1+ if (-not $BuildPython) {$BuildPython = (Get-Command python.exe -ErrorAction Stop).Source}}