This commit is contained in:
2026-07-10 15:11:51 +08:00
parent 8bfcf23bc2
commit da17239d7d
148 changed files with 2542 additions and 4873 deletions
+18 -13
View File
@@ -1,18 +1,23 @@
#!/usr/bin/env bash
##makedesc: Install telebit (latest)
echo
echo "==============================================="
echo "Installing telebit (latest)..."
echo "==============================================="
echo
set -eo pipefail
# https://git.coolaj86.com/coolaj86/telebit.js#install
install() {
echo
echo "==============================================="
echo "Installing telebit"
echo "==============================================="
echo
# export NODEJS_VER=v10.2 # v10.2 is tested working, but we can test other versions
# export TELEBIT_VERSION=master # git tag or branch to install from
# export TELEBIT_USERSPACE=no # install as a system service (launchd, systemd only)
# export TELEBIT_PATH=/opt/telebit
# export TELEBIT_USER=telebit
# export TELEBIT_GROUP=telebit
curl https://get.telebit.io/ | bash
# https://git.coolaj86.com/coolaj86/telebit.js#install
curl -fsSL https://get.telebit.io/ | bash
echo
echo "Finish!"
echo
}
case "$1" in
*) install ;;
esac