mirror of
				https://github.com/MHSanaei/3x-ui.git
				synced 2025-10-30 20:02:51 +00:00 
			
		
		
		
	Merge branch 'MHSanaei:main' into main
This commit is contained in:
		
						commit
						f2665c4e55
					
				
					 5 changed files with 6 additions and 6 deletions
				
			
		
							
								
								
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -83,7 +83,7 @@ jobs: | ||||||
|           cd x-ui/bin |           cd x-ui/bin | ||||||
|            |            | ||||||
|           # Download dependencies |           # Download dependencies | ||||||
|           Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v24.10.31/" |           Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v24.11.11/" | ||||||
|           if [ "${{ matrix.platform }}" == "amd64" ]; then |           if [ "${{ matrix.platform }}" == "amd64" ]; then | ||||||
|             wget ${Xray_URL}Xray-linux-64.zip |             wget ${Xray_URL}Xray-linux-64.zip | ||||||
|             unzip Xray-linux-64.zip |             unzip Xray-linux-64.zip | ||||||
|  |  | ||||||
|  | @ -27,7 +27,7 @@ case $1 in | ||||||
| esac | esac | ||||||
| mkdir -p build/bin | mkdir -p build/bin | ||||||
| cd build/bin | cd build/bin | ||||||
| wget "https://github.com/XTLS/Xray-core/releases/download/v24.10.31/Xray-linux-${ARCH}.zip" | wget "https://github.com/XTLS/Xray-core/releases/download/v24.11.11/Xray-linux-${ARCH}.zip" | ||||||
| unzip "Xray-linux-${ARCH}.zip" | unzip "Xray-linux-${ARCH}.zip" | ||||||
| rm -f "Xray-linux-${ARCH}.zip" geoip.dat geosite.dat | rm -f "Xray-linux-${ARCH}.zip" geoip.dat geosite.dat | ||||||
| mv xray "xray-linux-${FNAME}" | mv xray "xray-linux-${FNAME}" | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								go.mod
									
									
									
									
									
								
							|  | @ -14,7 +14,7 @@ require ( | ||||||
| 	github.com/robfig/cron/v3 v3.0.1 | 	github.com/robfig/cron/v3 v3.0.1 | ||||||
| 	github.com/shirou/gopsutil/v4 v4.24.10 | 	github.com/shirou/gopsutil/v4 v4.24.10 | ||||||
| 	github.com/valyala/fasthttp v1.57.0 | 	github.com/valyala/fasthttp v1.57.0 | ||||||
| 	github.com/xtls/xray-core v1.8.25-0.20241031075831-4ec5c78c3453 | 	github.com/xtls/xray-core v1.8.25-0.20241111042233-0df2446f824d | ||||||
| 	go.uber.org/atomic v1.11.0 | 	go.uber.org/atomic v1.11.0 | ||||||
| 	golang.org/x/text v0.20.0 | 	golang.org/x/text v0.20.0 | ||||||
| 	google.golang.org/grpc v1.68.0 | 	google.golang.org/grpc v1.68.0 | ||||||
|  |  | ||||||
							
								
								
									
										4
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								go.sum
									
									
									
									
									
								
							|  | @ -185,8 +185,8 @@ github.com/vishvananda/netns v0.0.5 h1:DfiHV+j8bA32MFM7bfEunvT8IAqQ/NzSJHtcmW5zd | ||||||
| github.com/vishvananda/netns v0.0.5/go.mod h1:SpkAiCQRtJ6TvvxPnOSyH3BMl6unz3xZlaprSwhNNJM= | github.com/vishvananda/netns v0.0.5/go.mod h1:SpkAiCQRtJ6TvvxPnOSyH3BMl6unz3xZlaprSwhNNJM= | ||||||
| github.com/xtls/reality v0.0.0-20240909153216-e26ae2305463 h1:g1Cj7d+my6k/HHxLAyxPwyX8i7FGRr6ulBDMkBzg2BM= | github.com/xtls/reality v0.0.0-20240909153216-e26ae2305463 h1:g1Cj7d+my6k/HHxLAyxPwyX8i7FGRr6ulBDMkBzg2BM= | ||||||
| github.com/xtls/reality v0.0.0-20240909153216-e26ae2305463/go.mod h1:BjIOLmkEEtAgloAiVUcYj0Mt+YU00JARZw8AEU0IwAg= | github.com/xtls/reality v0.0.0-20240909153216-e26ae2305463/go.mod h1:BjIOLmkEEtAgloAiVUcYj0Mt+YU00JARZw8AEU0IwAg= | ||||||
| github.com/xtls/xray-core v1.8.25-0.20241031075831-4ec5c78c3453 h1:2piT7IYX0SKhYjD+XiJMDZAbY01MkP1HYO54njmisaQ= | github.com/xtls/xray-core v1.8.25-0.20241111042233-0df2446f824d h1:00+ceMqRs5YdBMm4NLdsupYnxkP5Ghka9Lzw2ciVhgk= | ||||||
| github.com/xtls/xray-core v1.8.25-0.20241031075831-4ec5c78c3453/go.mod h1:OlJhs59caMUabGbOamwTc2khBSOfd34qtVJVXFhpfWM= | github.com/xtls/xray-core v1.8.25-0.20241111042233-0df2446f824d/go.mod h1:n8wJBW828YcDQ+9+BnAtbofXVt31VMvz4TwbZK0BaEE= | ||||||
| github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU= | github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU= | ||||||
| github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E= | github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E= | ||||||
| github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= | github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= | ||||||
|  |  | ||||||
|  | @ -129,7 +129,7 @@ func (x *XrayAPI) AddUser(Protocol string, inboundTag string, user map[string]in | ||||||
| 				CipherType: ssCipherType, | 				CipherType: ssCipherType, | ||||||
| 			}) | 			}) | ||||||
| 		} else { | 		} else { | ||||||
| 			account = serial.ToTypedMessage(&shadowsocks_2022.User{ | 			account = serial.ToTypedMessage(&shadowsocks_2022.ServerConfig{ | ||||||
| 				Key:   user["password"].(string), | 				Key:   user["password"].(string), | ||||||
| 				Email: user["email"].(string), | 				Email: user["email"].(string), | ||||||
| 			}) | 			}) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 serogaq
						serogaq