while true
do
clear
echo "更新日期2024年3月30日"
echo "请选择要安装的脚本。"
echo -e "\e[1;34m------------------\e[0m"
echo "1) Termux_Linux工具箱(旧)"
echo -e "\e[1;34m------------------\e[0m"
echo "2) Linux工具箱(适合Linux)"
echo "3) Linux工具箱(备用下载)"
echo -e "\e[1;34m------------------\e[0m"
echo "4) 本地运行(适合Termux)"
echo "0) 退出"
echo -e "\e[1;34m------------------\e[0m"
read -p "请选择:" menu
case $menu in
1) git clone https://gitee.com/nasyt/nasyt-linux-tool.git;bash nasyt-linux-tool/nasyt-linux-tool.sh;;
2) curl -o /bin/nasyt nasyt.class2.icu/shell/nasyt_linux_tool_v2.0.sh;chmod 777 /usr/bin/nasyt;nasyt;;
3) curl -o /bin/nasyt http://a2.loveiu.cn:5244/p/server/root/shell/nasyt_linux_tool_v2.0.sh?sign=yhSJlGRKagKzgtvsWinrnrwuxbjz4-OYcPbfc94oqLw=:0;sudo chmod 777 /usr/bin/nasyt;sudo nasyt;;
4) curl -o nasyt_linux_tool_v2.0.sh http://a2.loveiu.cn:5244/p/server/root/shell/nasyt_linux_tool_v2.0.sh?sign=yhSJlGRKagKzgtvsWinrnrwuxbjz4-OYcPbfc94oqLw=:0;bash nasyt_linux_tool_v2.0.sh;;
0) break;;
*) echo "";echo "无效的输入。";read -p "回车键返回。"
esac
done