Expand arch support in downloadXray

This commit is contained in:
mhsanaei
2024-07-10 20:50:32 +02:00
parent 2211838592
commit 038faf0197

View File

@@ -286,6 +286,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)