From a8f4e76e9b3fb9bf1d9cdc6caefc6e8b906f033e Mon Sep 17 00:00:00 2001 From: wukongdaily <2666180@gmail.com> Date: Sun, 1 Dec 2024 21:51:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=A8=E5=B1=80=E5=BF=AB?= =?UTF-8?q?=E6=8D=B7=E9=94=AEt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shells/tv.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shells/tv.sh b/shells/tv.sh index 537498a..5bce446 100644 --- a/shells/tv.sh +++ b/shells/tv.sh @@ -20,6 +20,9 @@ declare -A commands_essentials declare -a tv_model_options declare -A tv_model_commands +# 设置全局命令 p +cp -f "$0" /usr/local/bin/t +chmod +x /usr/local/bin/t get_docker_version() { VERSION=$(grep -E '^VERSION=' /etc/environment | cut -d '=' -f2) @@ -1040,6 +1043,7 @@ show_menu() { echo "$(get_tvbox_model_name)" echo "$(get_tvbox_timezone)" echo "**********************************************************************" + YELLOW "再次运行 输入 t 即可" echo "请选择操作:" for i in "${!menu_options[@]}"; do echo -e "${BLUE}$((i + 1)). ${menu_options[i]}${NC}"