Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Grigorev <sleuthhound@gmail.com>2025-09-28 15:00:45 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-28 15:09:27 +0300
commit30565833889171afe5c934f97bc0e767534e8310 (patch)
tree75f1bf0200c962be7099cf61c4d01efae5a957b8 /x-ui.sh
parent172f2ddaa78cc850d4eefcf4fe3df0f8c79f16a1 (diff)
feat: Add update script (#3555)
* feat: Add update script * Small fix * Fixed typo * Fixed typo * chmod +x * Update x-ui * Fixed update message * Fixed typo * Added downloading via IPv4 * Remove check_glibc_version * Fixed self destroy * Fixed typo * Fixed self destroy ---------
Diffstat (limited to 'x-ui.sh')
-rw-r--r--x-ui.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/x-ui.sh b/x-ui.sh
index 6038db7d..643534a1 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 function will update all x-ui components to the latest version, and the data will not be lost. 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