diff --git a/scripts/get_ngrok.sh b/scripts/get_ngrok.sh index 99cf01d6e..9a14b722b 100755 --- a/scripts/get_ngrok.sh +++ b/scripts/get_ngrok.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash -command -v ./ngrok >/dev/null 2>&1 +# Check if ngrok is installed +command -v ngrok >/dev/null 2>&1 if [[ $? -ne 0 ]]; then - echo ngrok is not found, installing... - wget -q -nc https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip - unzip -qq -n ngrok-stable-linux-amd64.zip - echo Done! + echo "ngrok is not found, installing..." + wget -q -nc https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz + tar -xzf ngrok-v3-stable-linux-amd64.tgz + echo "Done!" fi -