Skip to content

Commit

Permalink
Update x-ui-pro.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
GFW4Fun authored Nov 18, 2024
1 parent a8a56cf commit 5b47ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-ui-pro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ fi
if ! systemctl is-active --quiet x-ui; then
[[ "$PNLNUM" =~ ^[0-2]+$ ]] || PNLNUM=1
VERSION=$(echo "$VERSION" | tr -d '[:space:]')
if [[ -z "$VERSION" || "$VERSION" != *.* || "$VERSION" = "last" ]]; then VERSION="master"
if [[ -z "$VERSION" || "$VERSION" != *.* ]]; then VERSION="master"
else [[ $PNLNUM = "1" ]] && VERSION="v${VERSION#v}" || VERSION="${VERSION#v}" ; fi
PANEL=( "https://raw.githubusercontent.com/alireza0/x-ui/${VERSION}/install.sh"
"https://raw.githubusercontent.com/mhsanaei/3x-ui/${VERSION}/install.sh"
Expand Down

0 comments on commit 5b47ef5

Please sign in to comment.