mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2025-02-24 18:07:02 +00:00
* feat: Add zed editor -> developer tools * Rename dir Developer-tools -> developer-tools * Rename files from application-setup.sh -> application.sh The purpose of all files inside the directory is to setup an application no need to mention it in the file name * Revert userguide.md zed * docs: new repo (#888) * Removes docs and mentions on readme * Update README.md * Update README.md Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update linutil.yml * Delete xtask.yml * Update preview.yml * Update README.md --------- Co-authored-by: Chris Titus <contact@christitus.com> Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * fix(create-bootable-usb.sh) confirmation prompt (#902) * fix create-bootable-usb.sh confirmation prompt * Update core/tabs/utils/create-bootable-usb.sh Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com> --------- Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com> * fix (ci): preview workflow (#905) * fix: binary download, invalid action inputs * Update preview.yml --------- Co-authored-by: Real-MullaC <callumjanes2007new+github@gmail.com> Co-authored-by: Chris Titus <contact@christitus.com> Co-authored-by: Adam Perkowski <adas1per@protonmail.com> Co-authored-by: Lennart Pieperjohanns <95208734+lennartpj@users.noreply.github.com> Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com>
26 lines
675 B
Bash
26 lines
675 B
Bash
#!/bin/sh -e
|
|
|
|
. ../../common-script.sh
|
|
|
|
installNgrok() {
|
|
if ! command_exists ngrok; then
|
|
printf "%b\n" "${YELLOW}Installing Ngrok.${RC}"
|
|
case "$ARCH" in
|
|
x86_64)
|
|
url="https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz"
|
|
;;
|
|
aarch64)
|
|
url="https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm64.tgz"
|
|
;;
|
|
esac
|
|
curl -sSL "$url" -o ngrok.tgz
|
|
"$ESCALATION_TOOL" tar -xzf ngrok.tgz -C /usr/local/bin
|
|
else
|
|
printf "%b\n" "${GREEN}Ngrok is already installed.${RC}"
|
|
fi
|
|
}
|
|
|
|
checkEnv
|
|
checkEscalationTool
|
|
installNgrok
|