diff options
| author | Mikhail Grigorev <sleuthhound@gmail.com> | 2025-09-28 15:00:45 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-28 15:09:27 +0300 |
| commit | 30565833889171afe5c934f97bc0e767534e8310 (patch) | |
| tree | 75f1bf0200c962be7099cf61c4d01efae5a957b8 /x-ui.sh | |
| parent | 172f2ddaa78cc850d4eefcf4fe3df0f8c79f16a1 (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.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
