Update Live-streaming code (auto-daily features)
This commit is contained in:
+4
-1
@@ -32,6 +32,8 @@ function Invoke-Checked([string]$File, [string[]]$Arguments) {
|
||||
function Get-ProjectPython {
|
||||
$candidates = @(
|
||||
$env:LIVE_STREAMING_PYTHON,
|
||||
(Join-Path $Root ".venv-tts\Scripts\python.exe"),
|
||||
(Join-Path $Root ".venv\Scripts\python.exe"),
|
||||
"E:\Programs\Anaconda3\envs\Live-streaming\python.exe",
|
||||
"python"
|
||||
) | Where-Object { $_ }
|
||||
@@ -45,7 +47,7 @@ function Get-ProjectPython {
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
throw "No usable Python found. Install Python 3.10+, set LIVE_STREAMING_PYTHON, or use the Live-streaming conda env."
|
||||
throw "No usable Python found. Create .venv, install Python 3.10+, or set LIVE_STREAMING_PYTHON."
|
||||
}
|
||||
|
||||
$Python = Get-ProjectPython
|
||||
@@ -197,6 +199,7 @@ New-Item -ItemType Directory -Force -Path (Join-Path $AppDist "logs") | Out-Null
|
||||
Copy-Item -LiteralPath (Join-Path $Root "web") -Destination (Join-Path $AppDist "web") -Recurse -Force
|
||||
Copy-Item -LiteralPath (Join-Path $Root "config") -Destination (Join-Path $AppDist "config") -Recurse -Force
|
||||
Copy-Item -LiteralPath (Join-Path $Root "integrations") -Destination (Join-Path $AppDist "integrations") -Recurse -Force
|
||||
Copy-Item -LiteralPath (Join-Path $Root "docs") -Destination (Join-Path $AppDist "docs") -Recurse -Force
|
||||
Copy-Item -LiteralPath (Join-Path $Root "vendor") -Destination (Join-Path $AppDist "vendor") -Recurse -Force
|
||||
Copy-Item -LiteralPath (Join-Path $Root "README.md") -Destination (Join-Path $AppDist "README.md") -Force
|
||||
|
||||
|
||||
Reference in New Issue
Block a user