Skip to content

Commit

Permalink
Fix ngrok issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevithakannan2 committed Oct 14, 2024
1 parent 6dfd514 commit eeacb19
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/tabs/applications-setup/Developer-tools/ngrok-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
installNgrok() {
if ! command_exists ngrok; then
printf "%b\n" "${YELLOW}Installing Ngrok...${RC}"
curl -sSLO https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz | elevated_execution tar -xz -C /usr/local/bin
curl -sSLO https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz
if [ -f "ngrok-v3-stable-linux-amd64.tgz" ]; then
elevated_execution tar -xz -f ngrok-v3-stable-linux-amd64.tgz -C /usr/local/bin
else
printf "%b\n" "${RED}Error occured when downloading.${RC}"

Check warning on line 12 in core/tabs/applications-setup/Developer-tools/ngrok-setup.sh

View workflow job for this annotation

GitHub Actions / check-typos

"occured" should be "occurred".
exit 1
fi
else
printf "%b\n" "${GREEN}Ngrok is already installed.${RC}"
fi
Expand Down

0 comments on commit eeacb19

Please sign in to comment.