Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/service/server.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/service/server.go b/web/service/server.go
index 254dac63..0d7874d5 100644
--- a/web/service/server.go
+++ b/web/service/server.go
@@ -312,6 +312,16 @@ func (s *ServerService) downloadXRay(version string) (string, error) {
arch = "64"
case "arm64":
arch = "arm64-v8a"
+ case "armv7":
+ arch = "arm32-v7a"
+ case "armv6":
+ arch = "arm32-v6"
+ case "armv5":
+ arch = "arm32-v5"
+ case "386":
+ arch = "32"
+ case "s390x":
+ arch = "s390x"
}
fileName := fmt.Sprintf("Xray-%s-%s.zip", osName, arch)