增加小雅全家桶的选项
This commit is contained in:
parent
f2dbeb8a92
commit
e7a8360f8b
20
zero3/op.sh
20
zero3/op.sh
|
@ -181,6 +181,16 @@ install_teslamate() {
|
|||
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
|
||||
#*************************************
|
||||
|
@ -199,7 +209,9 @@ while true; do
|
|||
echo " 3. 安装AList docker版"
|
||||
echo " 4. 安装1panel面板docker版"
|
||||
echo " 5. 安装特斯拉伴侣TeslaMate"
|
||||
echo " 6. 更新脚本"
|
||||
echo " 6. 安装docker-compose"
|
||||
echo " 7. 安装小雅全家桶Emby|Jellyfin"
|
||||
echo " U. 更新脚本"
|
||||
echo
|
||||
echo " Q. 退出本程序"
|
||||
echo
|
||||
|
@ -223,6 +235,12 @@ while true; do
|
|||
install_teslamate
|
||||
;;
|
||||
6)
|
||||
do_install_docker_compose
|
||||
;;
|
||||
7)
|
||||
install_xiaoya_allinone
|
||||
;;
|
||||
u | U)
|
||||
update_scripts
|
||||
;;
|
||||
q | Q)
|
||||
|
|
Loading…
Reference in New Issue