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
Add curl.exe fallback when GitHub API unreachable for specific version
When installing a specific version (-Version v1.x.y) and the GitHub API
is blocked or rate-limited, set $ReleaseAssets to $null instead of
failing hard, then fall back to probing candidate artifact URLs with
'curl.exe -fsI' (HEAD requests).
curl.exe ships with Windows 10 1803+ and is already used for the binary
download, so the dependency is not new. This preserves the behaviour of
the original script in API-restricted environments while avoiding
Invoke-WebRequest (which triggers the PS5.1 security warning).
Addresses code-review feedback on PR #122.
0 commit comments