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
Fix Windows install security warning from Invoke-WebRequest
Replace the artifact probe loop (Invoke-WebRequest HEAD requests) with
a membership check against the GitHub release asset list already fetched
via Invoke-RestMethod. This eliminates Invoke-WebRequest entirely, which
was triggering a PowerShell 5.1 IE-parser security warning on every
install.
- For 'latest': extract $ReleaseAssets from the existing API response
at no extra cost.
- For a specific version: add an Invoke-RestMethod call to
/releases/tags/{tag} to fetch the same asset list.
- Replace the HEAD probe loop with a simple -contains membership check.
- Improve the error message: show available Windows assets from the
release when no compatible binary is found.
Fixes#118
0 commit comments