Skip to content

Commit 42b899b

Browse files
authored
Merge pull request #706 from bx70Mk/patch-1
Update get_ngrok.sh
2 parents 5614719 + 17eb836 commit 42b899b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/get_ngrok.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env bash
22

3-
command -v ./ngrok >/dev/null 2>&1
3+
# Check if ngrok is installed
4+
command -v ngrok >/dev/null 2>&1
45
if [[ $? -ne 0 ]]; then
5-
echo ngrok is not found, installing...
6-
wget -q -nc https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
7-
unzip -qq -n ngrok-stable-linux-amd64.zip
8-
echo Done!
6+
echo "ngrok is not found, installing..."
7+
wget -q -nc https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz
8+
tar -xzf ngrok-v3-stable-linux-amd64.tgz
9+
echo "Done!"
910
fi
10-

0 commit comments

Comments
 (0)