Spaces:
Runtime error
Runtime error
Download scripts/run_scorm_existing_chrome.ps1 from GaryLeckey/aureon-os: direct link, hf CLI and curl.
- Browser
- Download file 764 Bytes
-
https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/main/scripts/run_scorm_existing_chrome.ps1
- Command line
-
hf download hf://spaces/GaryLeckey/aureon-os/scripts/run_scorm_existing_chrome.ps1
-
curl -L -o run_scorm_existing_chrome.ps1 https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/main/scripts/run_scorm_existing_chrome.ps1
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 | |