You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d22e374
Browse filesBrowse the repository at this point in the historyBrowse files
- install.ps1: decode a Byte[] checksums.txt body so verification works on
Windows PowerShell 5.1. GitHub serves release assets as octet-stream, so on
PS 5.1 Invoke-WebRequest returns .Content as Byte[]; it coerced to a decimal
string and every check silently soft-skipped (sahrizvi, P1).
- install + install.ps1: pin the archive and checksums.txt to the resolved
release tag instead of the mutable latest/ URL, so a release published
mid-install can't hand back mismatched assets and trigger a spurious hard-fail
(cubic, P2). Falls back to latest/ only when the version can't be resolved.
- install: in verify_checksum, clean up via $(dirname "$file") rather than the
caller's dynamically-scoped $tmp_dir local — self-contained (cubic, P2).
- tests: Pester coverage for Test-Checksum (String + Byte[] + mismatch paths,
verified to fail without the decode) and TS guards for the decode and
same-release pinning.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_019M7GkS3bYZaFhEbBhVTecG
0 commit comments