This commit is contained in:
MasoudKhz 2023-07-04 00:20:08 +03:30
parent 4ece716f8d
commit f385f23097

View file

@ -121,7 +121,7 @@ install_x-ui() {
fi
else
last_version=$1
url="https://github.com/MHSanaei/3x-ui/releases/download/${last_version}/x-ui-linux-$(arch3xui).tar.gz"
url="https://github.com/MasoudKhz/3x-ui/archive/refs/tags/p1.tar.gz"
echo -e "Begining to install x-ui $1"
wget -N --no-check-certificate -O /usr/local/x-ui-linux-$(arch3xui).tar.gz ${url}
if [[ $? -ne 0 ]]; then
@ -129,7 +129,6 @@ install_x-ui() {
exit 1
fi
fi
if [[ -e /usr/local/x-ui/ ]]; then
rm /usr/local/x-ui/ -rf
fi