From 531da67646b6b3367768bd2a1f9753d16a50e700 Mon Sep 17 00:00:00 2001 From: wukongdaily <11958171+wukongdaily@user.noreply.gitee.com> Date: Mon, 26 Feb 2024 22:02:52 +0800 Subject: [PATCH] Update tv.sh --- shells/tv.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/shells/tv.sh b/shells/tv.sh index dc8dee2..4e19a3f 100644 --- a/shells/tv.sh +++ b/shells/tv.sh @@ -115,12 +115,8 @@ show_timezone() { #断开adb连接 disconnect_adb() { - if check_adb_installed; then - adb disconnect - echo "ADB 已经断开" - else - echo -e "${YELLOW}您还没有安装ADB${NC}" - fi + adb disconnect + echo "ADB 已经断开" } # 添加主机名映射(解决安卓原生TV首次连不上wifi的问题)