Dotfiles/setup/modules/optional-Modules/apps/localtunnel.sh

12 lines
299 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"
log "Installing LocalTunnel..."
if command -v npm &>/dev/null; then
npm install -g localtunnel
else
yay -S --answerdiff None --answerclean All --noconfirm localtunnel
fi
log "LocalTunnel installed."