mirror of
				https://github.com/v2fly/v2ray-core.git
				synced 2025-11-04 03:39:24 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			747 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			747 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
# This file is accessible as https://install.direct/go.sh
 | 
						|
# Original source is located at github.com/v2fly/v2ray-core/release/install-release.sh
 | 
						|
 | 
						|
# If not specify, default meaning of return value:
 | 
						|
# 0: Success
 | 
						|
# 1: System error
 | 
						|
# 2: Application error
 | 
						|
# 3: Network error
 | 
						|
 | 
						|
#######color code########
 | 
						|
RED="31m"      # Error message
 | 
						|
YELLOW="33m"   # Warning message
 | 
						|
colorEcho(){
 | 
						|
    echo -e "\033[${1}${@:2}\033[0m" 1>& 2
 | 
						|
}
 | 
						|
 | 
						|
colorEcho ${RED} "ERROR: This script has been DISCARDED, please switch to fhs-install-v2ray project."
 | 
						|
colorEcho ${YELLOW} "HOW TO USE: https://github.com/v2fly/fhs-install-v2ray"
 | 
						|
colorEcho ${YELLOW} "TO MIGRATE: https://github.com/v2fly/fhs-install-v2ray/wiki/Migrate-from-the-old-script-to-this"
 | 
						|
exit 255
 |