mirror of
https://github.com/Finesssee/ProxyPilot.git
synced 2026-11-18 18:04:20 +00:00
chore(scripts): Add Python Scripts path to start-cliproxy.ps1
This commit is contained in:
@@ -20,6 +20,14 @@ $configPath = Join-Path $repoRoot "config.yaml"
|
||||
$logsDir = Join-Path $repoRoot "logs"
|
||||
Ensure-Dir $logsDir
|
||||
|
||||
# Ensure Microsoft Store Python user Scripts path is on PATH so Letta can be found.
|
||||
$pyScripts = Join-Path $env:USERPROFILE "AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python313\\Scripts"
|
||||
if (Test-Path -LiteralPath $pyScripts) {
|
||||
if ($env:Path -notlike "*$pyScripts*") {
|
||||
$env:Path = "$pyScripts;$env:Path"
|
||||
}
|
||||
}
|
||||
|
||||
$stdoutLog = Join-Path $logsDir "proxypilot-engine.out.log"
|
||||
$stderrLog = Join-Path $logsDir "proxypilot-engine.err.log"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user