fix: use curl for windows installation
This commit is contained in:
parent
362de60dd1
commit
8ae67b4720
|
@ -23,10 +23,11 @@ case "$PLATFORM" in
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
GETH_ARCHIVE_NAME="geth-windows-amd64-$GETH_BUILD"
|
GETH_ARCHIVE_NAME="geth-windows-amd64-$GETH_BUILD"
|
||||||
wget -q "https://gethstore.blob.core.windows.net/builds/$GETH_ARCHIVE_NAME.zip"
|
zip="$GETH_ARCHIVE_NAME.zip"
|
||||||
unzip "$GETH_ARCHIVE_NAME.zip"
|
curl -o "$zip" "https://gethstore.blob.core.windows.net/builds/$zip"
|
||||||
|
unzip "$zip"
|
||||||
mv -f "$GETH_ARCHIVE_NAME/geth.exe" ./
|
mv -f "$GETH_ARCHIVE_NAME/geth.exe" ./
|
||||||
rm -rf "$GETH_ARCHIVE_NAME" "$GETH_ARCHIVE_NAME.zip"
|
rm -rf "$GETH_ARCHIVE_NAME" "$zip"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue