增加小雅全家桶的选项

This commit is contained in:
悟空的日常镜像仓库 2024-06-11 17:58:48 +08:00
parent f2dbeb8a92
commit e7a8360f8b
1 changed files with 19 additions and 1 deletions

View File

@ -181,6 +181,16 @@ install_teslamate() {
fi fi
} }
install_xiaoya_allinone() {
if which docker-compose >/dev/null 2>&1; then
bash -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya-all.sh)"
else
red "Docker Compose 还未安装,正在尝试安装..."
green "安装成功后,请您再次执行该选项"
do_install_docker_compose
fi
}
# ************************************************************* # *************************************************************
while true; do while true; do
#************************************* #*************************************
@ -199,7 +209,9 @@ while true; do
echo " 3. 安装AList docker版" echo " 3. 安装AList docker版"
echo " 4. 安装1panel面板docker版" echo " 4. 安装1panel面板docker版"
echo " 5. 安装特斯拉伴侣TeslaMate" echo " 5. 安装特斯拉伴侣TeslaMate"
echo " 6. 更新脚本" echo " 6. 安装docker-compose"
echo " 7. 安装小雅全家桶Emby|Jellyfin"
echo " U. 更新脚本"
echo echo
echo " Q. 退出本程序" echo " Q. 退出本程序"
echo echo
@ -223,6 +235,12 @@ while true; do
install_teslamate install_teslamate
;; ;;
6) 6)
do_install_docker_compose
;;
7)
install_xiaoya_allinone
;;
u | U)
update_scripts update_scripts
;; ;;
q | Q) q | Q)