更新 bin/ZeroWrt
Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
parent
c6a4231cd2
commit
2195c984c9
16
bin/ZeroWrt
16
bin/ZeroWrt
@ -1058,6 +1058,20 @@ istore_style() {
|
|||||||
color_output "\e[32mQuickStart and Homepage installed\e[0m"
|
color_output "\e[32mQuickStart and Homepage installed\e[0m"
|
||||||
color_output "\e[32mAll components installed successfully!\e[0m"
|
color_output "\e[32mAll components installed successfully!\e[0m"
|
||||||
fi
|
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...")"
|
read -p "$([[ "$LANG_CHOICE" == "zh" ]] && echo "按 Enter 键返回主菜单..." || echo "Press Enter to return to main menu...")"
|
||||||
show_menu
|
show_menu
|
||||||
}
|
}
|
||||||
@ -1187,4 +1201,4 @@ check_update() {
|
|||||||
select_language
|
select_language
|
||||||
show_agreement
|
show_agreement
|
||||||
print_header
|
print_header
|
||||||
show_menu
|
show_menu
|
||||||
|
Loading…
Reference in New Issue
Block a user