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 bb393db
Browse filesBrowse the repository at this point in the historyBrowse files
- WOW64 arch fix (MAJOR): resolve via PROCESSOR_ARCHITEW6432 so a 32-bit
PowerShell host on 64-bit Windows is correctly detected as AMD64 instead of
being rejected as unsupported x86.
- Add -Help/-Help usage block (Show-Usage) mirroring the bash installer's usage().
- Consolidate the two Add-Type P/Invoke blocks into one Win32.AltimateNative type
(IsProcessorFeaturePresent + SendMessageTimeout).
- Standardize user-facing errors through Write-Err with a uniform "error: " prefix.
- Document that archive integrity verification is intentionally deferred to match
the bash installer (HTTPS from GitHub releases); full checksum publish+verify
for both installers tracked as a follow-up PR.
- Add Pester behavioral tests (test/windows/install.Tests.ps1) covering syntax,
-Help, the WOW64 fix, ARM64/x86 rejection, and unknown-version handling, plus a
windows-latest CI lane in ci.yml. Verified: 6/6 pass on PowerShell 7.6.2.
- Extend windows-install.test.ts to assert the ARCHITEW6432 logic and -Help block.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
# If detection fails, assume no AVX2 and fall back to the baseline build —
61
105
# the baseline binary runs everywhere, an AVX2 binary on a non-AVX2 CPU crashes.
@@ -89,7 +133,7 @@ if ([string]::IsNullOrWhiteSpace($Version)) {
89
133
try {
90
134
Invoke-WebRequest-Uri "https://github.com/AltimateAI/altimate-code/releases/tag/v$Version"-Method Head -UseBasicParsing |Out-Null
0 commit comments