#Requires -Version 7 # Preflight: check that this machine has what the stack needs, record where each # tool lives, and set up tools/.venv - before any `wikitool` command can run. # # pwsh -NoProfile -ExecutionPolicy Bypass -File tools/preflight.ps1 # pwsh -NoProfile -ExecutionPolicy Bypass -File tools/preflight.ps1 --set rg=C:\Tools\rg.exe # # As the release asset `preflight.ps1` - a copy with no tools/prerequisites.txt next # to it - the script is the first install step instead: it downloads the stack # release named in $ReleaseArchiveUrl / $ReleaseChecksumUrl, checks the sha256, # unpacks it into