From 5666b68443903525388cb5e7f69d532414e3849e Mon Sep 17 00:00:00 2001 From: NewName Date: Sun, 23 Jun 2024 15:11:41 +0800 Subject: [PATCH] Update reality.sh --- reality.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reality.sh b/reality.sh index 5a2d5cd..16c84de 100644 --- a/reality.sh +++ b/reality.sh @@ -66,11 +66,11 @@ install_singbox(){ fi if [[ $SYSTEM == "CentOS" ]]; then - wget https://github.com/SagerNet/sing-box/releases/download/"$last_version"/sing-box_"$last_version"_linux_$(archAffix).rpm -O sing-box.rpm + wget https://github.com/SagerNet/sing-box/releases/download/"v$last_version"/sing-box_"$last_version"_linux_$(archAffix).rpm -O sing-box.rpm rpm -ivh sing-box.rpm rm -f sing-box.rpm else - wget https://github.com/SagerNet/sing-box/releases/download/"$last_version"/sing-box_"$last_version"_linux_$(archAffix).deb -O sing-box.deb + wget https://github.com/SagerNet/sing-box/releases/download/"v$last_version"/sing-box_"$last_version"_linux_$(archAffix).deb -O sing-box.deb dpkg -i sing-box.deb rm -f sing-box.deb fi