更新 shells/tv.sh

This commit is contained in:
悟空的日常镜像仓库 2025-06-09 10:31:10 +08:00
parent d1d57bdc9f
commit 859886091f

View File

@ -226,7 +226,7 @@ input_text() {
echo -e "${BLUE}注意注意注意!请弹出键盘后再执行!每次输入会自动清空上次结果${NC}" echo -e "${BLUE}注意注意注意!请弹出键盘后再执行!每次输入会自动清空上次结果${NC}"
if check_adb_connected; then if check_adb_connected; then
while true; do while true; do
echo -e "仅支持英文字符和常规简单网址 不能支持 & * ? ,不建议重度使用此功能,重度使用请使用蓝牙键盘\n${YELLOW}如果输入clash订阅地址强烈建议使用第10项,${NC}\n ADB不适合处理特殊字符,且Openwrt下的adb版本也较低) \n输入【q】退出。输入【qk】删除20个字符。输入【blue】搜索蓝牙键盘。请您输入" echo -e "仅支持英文字符和常规简单网址 不能支持 & * ? ,不建议重度使用此功能,重度使用请使用蓝牙键盘\n${YELLOW}如果输入clash订阅地址强烈建议使用电视订阅助手,${NC}\n ADB不适合处理特殊字符,且Openwrt下的adb版本也较低) \n输入【q】退出。输入【qk】删除20个字符。输入【blue】搜索蓝牙键盘。请您输入"
read str read str
if [[ $str == "q" ]]; then if [[ $str == "q" ]]; then
@ -392,6 +392,12 @@ install_emotn_store() {
install_apk "${apk_path}emotn.apk" "com.overseas.store.appstore" install_apk "${apk_path}emotn.apk" "com.overseas.store.appstore"
} }
# 安装Aptoide TV
install_aptoidetv(){
echo -e "${BLUE}安装过程若出现弹框,请点击详情后选择【仍然安装】即可${NC}"
install_apk "${apk_path}aptoidetv.apk" "cm.aptoidetv.pt.cvt_hv553"
}
# 安装当贝市场 # 安装当贝市场
install_dbmarket() { install_dbmarket() {
echo -e "${BLUE}安装过程若出现弹框,请点击详情后选择【仍然安装】即可${NC}" echo -e "${BLUE}安装过程若出现弹框,请点击详情后选择【仍然安装】即可${NC}"
@ -452,11 +458,10 @@ install_mytv_latest_apk() {
install_apk "${apk_path}mytv.apk" "com.lizongying.mytv" install_apk "${apk_path}mytv.apk" "com.lizongying.mytv"
} }
# 安装bbll # 安装EASY installer
# release地址、包名、apk命名前缀 # release地址、包名、apk命名前缀
install_BBLL_latest_apk() { install_upan_apk() {
echo -e "${BLUE}项目主页:https://github.com/xiaye13579/BBLL ${NC}" install_apk "${apk_path}upan.apk" "com.atv.easy.installer"
install_apk "${apk_path}bbll.apk" "com.xx.blbl"
} }
#根据apk地址和包名 安装apk #根据apk地址和包名 安装apk
@ -777,8 +782,8 @@ menu_options=(
"安装Android原生TV必备精选Apps(含子菜单)" "安装Android原生TV必备精选Apps(含子菜单)"
"一键修改NTP(限原生TV,需重启)" "一键修改NTP(限原生TV,需重启)"
"安装Play商店图标(仅google tv使用)" "安装Play商店图标(仅google tv使用)"
"批量安装映射目录下的所有apk" "安装映射目录下的所有apk"
"批量安装映射目录下的所有xapk(适合流媒体app)" "安装映射目录下的所有xapk(适合流媒体app)"
"替换系统桌面" "替换系统桌面"
"进入KODI助手" "进入KODI助手"
"进入TVBox安装助手" "进入TVBox安装助手"
@ -799,8 +804,8 @@ commands=(
["显示Netflix影片码率"]="show_nf_info" ["显示Netflix影片码率"]="show_nf_info"
["模拟菜单键"]="show_menu_keycode" ["模拟菜单键"]="show_menu_keycode"
["安装Play商店图标(仅google tv使用)"]="show_playstore_icon" ["安装Play商店图标(仅google tv使用)"]="show_playstore_icon"
["批量安装映射目录下的所有apk"]="install_all_apks" ["安装映射目录下的所有apk"]="install_all_apks"
["批量安装映射目录下的所有xapk(适合流媒体app)"]="do_install_all_xapks" ["安装映射目录下的所有xapk(适合流媒体app)"]="do_install_all_xapks"
["进入KODI助手"]="kodi_helper" ["进入KODI助手"]="kodi_helper"
["进入TVBox安装助手"]="enter_tvbox_helper" ["进入TVBox安装助手"]="enter_tvbox_helper"
["进入Sony电视助手"]="enter_sonytv" ["进入Sony电视助手"]="enter_sonytv"
@ -812,22 +817,23 @@ commands=(
item_options=( item_options=(
"安装电视订阅助手" "安装电视订阅助手"
"安装Emotn Store应用商店" "安装Emotn Store应用商店"
"安装Aptoide TV应用商店"
"安装当贝市场" "安装当贝市场"
"安装沙发管家" "安装沙发管家"
"安装新版我的电视"
"安装BBLL(xiaye13579)"
"安装文件管理器+" "安装文件管理器+"
"安装Downloader" "安装Downloader"
"安装Mix-Apps用于显示全部应用" "安装Mix-Apps用于显示全部应用"
"安装U盘安装器Easy Installer"
"返回主菜单" "返回主菜单"
) )
commands_essentials=( commands_essentials=(
["安装电视订阅助手"]="install_subhelper_apk" ["安装电视订阅助手"]="install_subhelper_apk"
["安装Emotn Store应用商店"]="install_emotn_store" ["安装Emotn Store应用商店"]="install_emotn_store"
["安装Aptoide TV应用商店"]="install_aptoidetv"
["安装当贝市场"]="install_dbmarket" ["安装当贝市场"]="install_dbmarket"
["安装新版我的电视"]="install_mytv_latest_apk" ["安装新版我的电视"]="install_mytv_latest_apk"
["安装BBLL(xiaye13579)"]="install_BBLL_latest_apk" ["安装U盘安装器Easy Installer"]="install_upan_apk"
["安装文件管理器+"]="install_file_manager_plus" ["安装文件管理器+"]="install_file_manager_plus"
["安装Downloader"]="install_downloader" ["安装Downloader"]="install_downloader"
["安装Mix-Apps用于显示全部应用"]="install_mixapps" ["安装Mix-Apps用于显示全部应用"]="install_mixapps"