github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/release/install-release.sh (about) 1 #!/usr/bin/env bash 2 3 # This file is accessible as https://install.direct/go.sh 4 # Original source is located at github.com/v2fly/v2ray-core/release/install-release.sh 5 6 # If not specify, default meaning of return value: 7 # 0: Success 8 # 1: System error 9 # 2: Application error 10 # 3: Network error 11 12 #######color code######## 13 RED="31m" # Error message 14 YELLOW="33m" # Warning message 15 colorEcho(){ 16 echo -e "\033[${1}${@:2}\033[0m" 1>& 2 17 } 18 19 colorEcho ${RED} "ERROR: This script has been DISCARDED, please switch to fhs-install-v2ray project." 20 colorEcho ${YELLOW} "HOW TO USE: https://github.com/v2fly/fhs-install-v2ray" 21 colorEcho ${YELLOW} "TO MIGRATE: https://github.com/v2fly/fhs-install-v2ray/wiki/Migrate-from-the-old-script-to-this" 22 exit 255