Spaces:
Runtime error

aureon-os / scripts /run_scorm_existing_chrome.ps1
GaryLeckey's picture
Publish Aureon OS from source ca6be206f108a2474a8cb38faf9ad3ae836e1479 (files 1-250/16781) (#1)
56c0d82
Raw History Blame Contribute Delete
764 Bytes
# Sole-operator SCORM benchmark activation is under terminal protection HOLD.
$ErrorActionPreference = "Stop"
$repoRoot = [IO.Path]::GetFullPath((Join-Path $PSScriptRoot ".."))
$pythonExe = Join-Path $repoRoot ".venv\Scripts\python.exe"
$bootstrap = Join-Path $repoRoot "scripts\bootstrap\protected_bootstrap_v05.py"
if (-not (Test-Path -LiteralPath $pythonExe -PathType Leaf)) {
[Console]::Error.WriteLine("Fixed repository Python executable is unavailable; refusing SCORM operation.")
exit 1
}
if (-not (Test-Path -LiteralPath $bootstrap -PathType Leaf)) {
[Console]::Error.WriteLine("Fixed protected bootstrap is unavailable; refusing SCORM operation.")
exit 1
}
& $pythonExe -I -S -B $bootstrap --target-id scorm-benchmark
exit $LASTEXITCODE