Fix build errors

This commit is contained in:
Eller 2025-11-22 15:30:25 +00:00
parent 6121b077a8
commit 43f31448e8

View File

@ -251,11 +251,6 @@ do_install_proxy() {
local mtg_provider=$1
if [[ "$mtg_provider" == "mtg" ]]; then
local arch=$(get_architecture)
if [ "amd64" != "$arch" ]; then
echo -e "[\033[33m提醒\033[0m] 你的系统架构不支持安装 mtg\n"
exit 1
fi
wget $MTG_URL -O mtg -q
chmod +x mtg
./mtg