更新 bin/ZeroWrt

Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
zhao 2025-05-21 01:11:21 +08:00
parent c6a4231cd2
commit 2195c984c9

View File

@ -1058,6 +1058,20 @@ istore_style() {
color_output "\e[32mQuickStart and Homepage installed\e[0m"
color_output "\e[32mAll components installed successfully!\e[0m"
fi
# 风格化
if [[ "$LANG_CHOICE" == "zh" ]]; then
color_output "\e[34m[2/2] 正在风格化...\e[0m"
else
color_output "\e[34m[2/2] Stylizing...\e[0m"
fi
curl -o /www/luci-static/argon/iconfont.ttf https://script.kejizero.online/Customize/argon/iconfont.ttf
curl -o /www/luci-static/argon/iconfont.woff https://script.kejizero.online/Customize/argon/iconfont.woff
curl -o /www/luci-static/argon/iconfont.woff2 https://script.kejizero.online/Customize/argon/iconfont.woff2
chmod -R 777 /www/luci-static/argon/iconfont.ttf
chmod -R 777 /www/luci-static/argon/iconfont.woff
chmod -R 777 /www/luci-static/argon/iconfont.woff2
curl -s https://script.kejizero.online/Customize/argon/easeicon.css >> /www/luci-static/argon/css/cascade.css
read -p "$([[ "$LANG_CHOICE" == "zh" ]] && echo "按 Enter 键返回主菜单..." || echo "Press Enter to return to main menu...")"
show_menu
}