From 7a3126fc85a19354567ef3745c43ddaada84941c Mon Sep 17 00:00:00 2001 From: CN-JS-HuiBai Date: Wed, 15 Apr 2026 19:14:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DACME=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 5 ++++- install.sh | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 01dee62b..92bf4fd5 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,10 @@ sing-box.exe *.dll *.so *.dylib - +.codex-go-Cache +.codex-gopath +.codex-go-Build +.codex-go-modcache # Environment .env .env.local diff --git a/install.sh b/install.sh index 036321a8..73b4565a 100644 --- a/install.sh +++ b/install.sh @@ -96,6 +96,14 @@ build_sing_box() { echo -e "${RED}Failed to download Go modules.${NC}" exit 1 fi + if ! go get github.com/libdns/dnspod@v0.0.3 github.com/libdns/tencentcloud@v1.4.3; then + echo -e "${RED}Failed to download ACME DNS provider modules.${NC}" + exit 1 + fi + if ! go mod tidy; then + echo -e "${RED}Failed to refresh Go module metadata.${NC}" + exit 1 + fi echo -e "${YELLOW}Starting compilation (this may take a few minutes)...${NC}" echo -e "${YELLOW}Note: Using -p 1 to save memory and avoid silent crashes.${NC}"