Skip to content

Commit

Permalink
U-update
Browse files Browse the repository at this point in the history
  • Loading branch information
jinwyp committed Feb 6, 2023
1 parent 5c51b6f commit 5e4d0ed
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions linux_install_software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3932,16 +3932,17 @@ function downgradeXray(){
green " 1. 不降级 使用最新版本"

if [[ "${isAirUniverseVersionInput}" == "1" || "${isAirUniverseVersionInput}" == "2" ]]; then
green " 2. 1.6.1"
green " 3. 1.6.0"
green " 4. 1.5.5"
green " 5. 1.5.4"
green " 6. 1.5.3"
green " 2. 1.7.3"
green " 3. 1.6.1"
green " 4. 1.6.0"
green " 5. 1.5.5"
green " 6. 1.5.4"
green " 7. 1.5.3"
else
green " 7. 1.5.0"
green " 8. 1.4.5"
green " 9. 1.4.0"
green " 0. 1.3.1"
green " 8. 1.5.0"
green " 9. 1.4.5"
green " 10. 1.4.0"
green " 11. 1.3.1"
fi

echo
Expand All @@ -3952,31 +3953,35 @@ function downgradeXray(){
downloadXrayUrl="https://github.com/XTLS/Xray-core/releases/download/v${downloadXrayVersion}/Xray-linux-64.zip"

if [[ "${isXrayVersionInput}" == "2" ]]; then
downloadXrayVersion="1.6.1"
downloadXrayVersion="1.7.3"

elif [[ "${isXrayVersionInput}" == "3" ]]; then
downloadXrayVersion="1.6.0"
downloadXrayVersion="1.6.1"

elif [[ "${isXrayVersionInput}" == "4" ]]; then
downloadXrayVersion="1.5.5"
downloadXrayVersion="1.6.0"

elif [[ "${isXrayVersionInput}" == "5" ]]; then
downloadXrayVersion="1.5.4"
downloadXrayVersion="1.5.5"

elif [[ "${isXrayVersionInput}" == "6" ]]; then
downloadXrayVersion="1.5.3"
downloadXrayVersion="1.5.4"

elif [[ "${isXrayVersionInput}" == "7" ]]; then
downloadXrayVersion="1.5.0"
downloadXrayVersion="1.5.3"

elif [[ "${isXrayVersionInput}" == "8" ]]; then
downloadXrayVersion="1.4.5"
downloadXrayVersion="1.5.0"

elif [[ "${isXrayVersionInput}" == "9" ]]; then
downloadXrayVersion="1.4.5"

elif [[ "${isXrayVersionInput}" == "10" ]]; then
downloadXrayVersion="1.4.0"

elif [[ "${isXrayVersionInput}" == "0" ]]; then
elif [[ "${isXrayVersionInput}" == "11" ]]; then
downloadXrayVersion="1.3.1"

else
echo
fi
Expand Down

0 comments on commit 5e4d0ed

Please sign in to comment.