diff --git a/install.sh b/install.sh index 42ab27e4..3073f5e1 100644 --- a/install.sh +++ b/install.sh @@ -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