更新 bin/ ZeroWrt.backup
Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
parent
eebb61daa7
commit
77b98f2ed6
@ -47,7 +47,8 @@ show_menu() {
|
|||||||
color_output "\e[36m┃\e[0m 5. 一键换源 \e[36m┃\e[0m"
|
color_output "\e[36m┃\e[0m 5. 一键换源 \e[36m┃\e[0m"
|
||||||
color_output "\e[36m┃\e[0m 6. 一键部署 \e[36m┃\e[0m"
|
color_output "\e[36m┃\e[0m 6. 一键部署 \e[36m┃\e[0m"
|
||||||
color_output "\e[36m┃\e[0m 7. IPv6 开关 (仅适用于主路由) \e[36m┃\e[0m"
|
color_output "\e[36m┃\e[0m 7. IPv6 开关 (仅适用于主路由) \e[36m┃\e[0m"
|
||||||
color_output "\e[36m┃\e[0m 8. 检测更新 \e[36m┃\e[0m"
|
color_output "\e[36m┃\e[0m 8. iStoreOS 风格化 \e[36m┃\e[0m"
|
||||||
|
color_output "\e[36m┃\e[0m 9. 检测更新 \e[36m┃\e[0m"
|
||||||
color_output "\e[36m┃\e[0m 0. 退出 \e[36m┃\e[0m"
|
color_output "\e[36m┃\e[0m 0. 退出 \e[36m┃\e[0m"
|
||||||
color_output "\e[36m┃ ┃\e[0m"
|
color_output "\e[36m┃ ┃\e[0m"
|
||||||
color_output "\e[36m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\e[0m"
|
color_output "\e[36m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\e[0m"
|
||||||
@ -60,7 +61,8 @@ show_menu() {
|
|||||||
5) change_source ;;
|
5) change_source ;;
|
||||||
6) install_apps ;;
|
6) install_apps ;;
|
||||||
7) configure_ipv6 ;;
|
7) configure_ipv6 ;;
|
||||||
8) check_update ;;
|
8) istore_style ;;
|
||||||
|
9) check_update ;;
|
||||||
0) exit 0 ;;
|
0) exit 0 ;;
|
||||||
*) echo "无效选项,请重新输入"; show_menu ;;
|
*) echo "无效选项,请重新输入"; show_menu ;;
|
||||||
esac
|
esac
|
||||||
@ -435,7 +437,27 @@ configure_ipv6() {
|
|||||||
show_menu
|
show_menu
|
||||||
}
|
}
|
||||||
|
|
||||||
# 8. 检测更新
|
# 8. iStoreOS 风格化
|
||||||
|
istore_style() {
|
||||||
|
clear
|
||||||
|
color_output "\e[34m[开始安装 iStoreOS 风格化]\e[0m"
|
||||||
|
|
||||||
|
# 安装 iStore 商店
|
||||||
|
color_output "\e[34m[1/2] 正在安装 iStore 商店...\e[0m"
|
||||||
|
wget -qO install.sh https://git.kejizero.online/zhao/files/raw/branch/main/%20Script/iStoreOS/install.sh && chmod +x install.sh && ./install.sh
|
||||||
|
color_output "\e[32miStore 商店安装完成\e[0m"
|
||||||
|
|
||||||
|
# 安装网络向导和首页
|
||||||
|
color_output "\e[34m[2/2] 正在安装网络向导和首页...\e[0m"
|
||||||
|
is-opkg install luci-i18n-quickstart-zh-cn
|
||||||
|
color_output "\e[32m网络向导和首页安装完成\e[0m"
|
||||||
|
|
||||||
|
color_output "\e[32m所有组件安装完成!\e[0m"
|
||||||
|
read -p "按 Enter 键返回主菜单..."
|
||||||
|
show_menu
|
||||||
|
}
|
||||||
|
|
||||||
|
# 9. 检测更新
|
||||||
check_update() {
|
check_update() {
|
||||||
color_output "\e[34m[检测更新]\e[0m"
|
color_output "\e[34m[检测更新]\e[0m"
|
||||||
color_output "正在检查更新..."
|
color_output "正在检查更新..."
|
||||||
|
Loading…
Reference in New Issue
Block a user