mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
* Update x-ui.sh Change log: - Made the code less bulky. More code = more potential for bugs and vulnerabilities - The code is now showing the progress of downloads. Having the progres report allows us to see the errors and rectify them. - Added a Success / Failure prompt for each download - Solved the inherent problem with wget -O In the existing script, if a download fails, (i.e. if geofile.dat is not downloaded for any reason, wget -O creates an empty file by the same name and Xray will crash and won't recover and there's no way to know why. - Current script gives the user an option to restart or not. It shouldn't be optional. That is fixed. - Function restart() has already been defined in the script. There's no reason to use several lines for each restart. We're now using the existing function - Unrelated: I took the liberty to brighten up the colours for the menu. If that's not what you like, please feel free to revert it back. * Update x-ui.sh - Removed Iran.dat as it no longer will be supported in the new version. - Removed the notice about additional 2 files. - changed restart() to confirm_restart() - Reverted back to original colours.
23 KiB
23 KiB