Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ try {
try {
Invoke-WebRequest -Uri $DownloadUrl -OutFile $TarGzPath -UseBasicParsing
} catch {
Write-Host "error: your platform and architecture (windows-$Arch) is unsupported."
Write-Host "error: failed to download binary. This may be due to an unsupported platform (windows-$Arch) or a network issue."
exit 1
}

Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ echo -e "${MUTED}" # Muted progress bar
HTTP_CODE=$(curl -SL --progress-bar "$DOWNLOAD_URL" --output "$TEMP_FILE" --write-out "%{http_code}")
if [ "$HTTP_CODE" -lt 200 ] || [ "$HTTP_CODE" -gt 299 ]; then
echo -e "${NC}"
echo "error: your platform and architecture (${PLATFORM}-${ARCH}) is unsupported."
echo "error: failed to download binary (HTTP $HTTP_CODE). This may be due to an unsupported platform (${PLATFORM}-${ARCH}) or a network issue."
exit 1
fi

Expand Down
Loading