измепнил имя (x-ui:multi-server-support) и версию (3.0.1) в bash добавил вывод версии x-ui v

This commit is contained in:
Дмитрий Саенко 2025-10-22 10:21:18 +03:00
parent 2f033c8e01
commit 1a855d56f0
4 changed files with 10 additions and 3 deletions

View file

@ -1 +1 @@
x-ui
x-ui:multi-server-support

View file

@ -1 +1 @@
2.8.4
3.0.1

View file

@ -1 +0,0 @@
0.1.1

View file

@ -1870,6 +1870,11 @@ SSH_port_forwarding() {
esac
}
show_version() {
echo -e "x-ui Version: ${/usr/local/x-ui/x-ui -v}"
before_show_menu
}
show_usage() {
echo -e "┌───────────────────────────────────────────────────────┐
${blue}x-ui control menu usages (subcommands):${plain}
@ -2059,6 +2064,9 @@ if [[ $# > 0 ]]; then
"uninstall")
check_install 0 && uninstall 0
;;
"v")
check_install 0 && show_version 0
;;
*) show_usage ;;
esac
else