From e2802a1f8470d21ec3d95ac8a70a83adcd40550a Mon Sep 17 00:00:00 2001 From: harold Kelvin Date: Mon, 19 Feb 2024 07:42:14 +0100 Subject: [PATCH] upload --- scripts/get_ngrok.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -