diff --git a/install.sh b/install.sh index 5e8bf52..96dbac6 100644 --- a/install.sh +++ b/install.sh @@ -63,6 +63,11 @@ echo "" ################################# # Function to get panel URL from 3x-ui get_xui_url() { + if [[ "$REMOTE_PANEL" == "true" ]]; then + echo "" + return + fi + local output=$(x-ui settings 2>/dev/null || true) echo "$output" | sed 's/\x1b\[[0-9;]*m//g' | grep "Access URL:" | grep -oE 'https?://[^[:space:]]+' | head -n1 || true