diff --git a/x-ui.sh b/x-ui.sh index 6038db7d..4219a1de 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -85,7 +85,7 @@ install() { } update() { - confirm "This function will forcefully reinstall the latest version, and the data will not be lost. Do you want to continue?" "y" + confirm "This feature will update all x-ui components to the latest version without losing any data. Do you want to continue?" "y" if [[ $? != 0 ]]; then LOGE "Cancelled" if [[ $# == 0 ]]; then @@ -93,7 +93,7 @@ update() { fi return 0 fi - bash <(curl -Ls https://raw.githubusercontent.com/MHSanaei/3x-ui/main/install.sh) + bash <(curl -Ls https://raw.githubusercontent.com/MHSanaei/3x-ui/main/update.sh) if [[ $? == 0 ]]; then LOGI "Update is complete, Panel has automatically restarted " before_show_menu