mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-29 02:42:51 +00:00
измепнил имя (x-ui:multi-server-support) и версию (3.0.1) в bash добавил вывод версии x-ui v
This commit is contained in:
parent
2f033c8e01
commit
1a855d56f0
4 changed files with 10 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
x-ui
|
||||
x-ui:multi-server-support
|
||||
|
|
@ -1 +1 @@
|
|||
2.8.4
|
||||
3.0.1
|
||||
1
version
1
version
|
|
@ -1 +0,0 @@
|
|||
0.1.1
|
||||
8
x-ui.sh
8
x-ui.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue