We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5614719 + 17eb836 commit 42b899bCopy full SHA for 42b899b
scripts/get_ngrok.sh
@@ -1,10 +1,10 @@
1
#!/usr/bin/env bash
2
3
-command -v ./ngrok >/dev/null 2>&1
+# Check if ngrok is installed
4
+command -v ngrok >/dev/null 2>&1
5
if [[ $? -ne 0 ]]; then
- 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!
+ 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
9
+ echo "Done!"
10
fi
-
0 commit comments