Skip to content

Commit

Permalink
Merge pull request #1 from vehub/feat/less-verbose
Browse files Browse the repository at this point in the history
feat: be less verbose
  • Loading branch information
philipparndt authored Sep 6, 2024
2 parents 05c6b83 + 744c537 commit 6493293
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions setup-vehub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ echo $LATEST_VERSION | jq '{title: .title, version: .version}'

URL=$(echo $LATEST_VERSION | jq -r '.url | fromjson | .downloadAction' | head -n 1)

echo "Downloading from $URL..."

curl -L "https://vector.com$URL" \
curl -s -L "https://vector.com$URL" \
-H 'content-type: application/json' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) Chrome/115.0.5790.102' -o cli.zip

echo "Extracting veHub CLI..."
unzip cli.zip -d cli
unzip -q cli.zip -d cli

# Make the binary executable
chmod +x cli/vehub
Expand Down

0 comments on commit 6493293

Please sign in to comment.