Release prep v5.6: regen MANUAL.md from readme.html; gate skips Store-alias python

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Ednunp
2026-07-27 12:55:48 +01:00
co-authored by Claude Fable 5
parent d09c47432f
commit 2791f855a7
2 changed files with 14 additions and 4 deletions
+5 -1
View File
@@ -102,7 +102,11 @@ Write-Host "`nRelay logic tests (server\test_relay.py):" -ForegroundColor Cyan
$py = $null
foreach ($cand in @('py', 'python', 'python3')) {
$cmd = Get-Command $cand -ErrorAction SilentlyContinue
if ($cmd) { $py = $cmd.Source; break }
# Skip the Windows Store execution-alias stubs (…\Microsoft\WindowsApps\py.exe|python.exe) —
# they don't run Python, they print "Python was not found" and exit non-zero, which would fail
# the relay-test step instead of running it. The real launcher (C:\Windows\py.exe) and a real
# install (…\Programs\Python\…) are never under WindowsApps.
if ($cmd -and $cmd.Source -notmatch 'WindowsApps') { $py = $cmd.Source; break }
}
if (-not $py) {
Write-Host " [SKIP] no Python interpreter found (py/python/python3) - relay logic tests did not run" -ForegroundColor Yellow