From 91d1aa4461118b6aec3cb9482f30393fdae5591e Mon Sep 17 00:00:00 2001 From: spiritlhl Date: Sat, 18 Jan 2025 19:11:13 +0800 Subject: [PATCH] =?UTF-8?q?v0.1.8=20-=20=E5=9C=A8=E5=AD=98=E5=9C=A8IPV6?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=97=B6=E4=BF=AE=E5=A4=8D=E6=8E=92=E7=89=88?= =?UTF-8?q?=E7=BC=BA=E5=B0=91=E4=B8=80=E4=B8=AA=E6=8D=A2=E8=A1=8C=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- goecs.go | 2 +- goecs.sh | 4 ++-- utils/utils.go | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/goecs.go b/goecs.go index bab6b7b..c1bddce 100644 --- a/goecs.go +++ b/goecs.go @@ -39,7 +39,7 @@ import ( ) var ( - ecsVersion = "v0.1.7" + ecsVersion = "v0.1.8" menuMode bool onlyChinaTest bool input, choice string diff --git a/goecs.sh b/goecs.sh index fd2fe75..3c7ef92 100644 --- a/goecs.sh +++ b/goecs.sh @@ -168,8 +168,8 @@ goecs_check() { sleep 1 done if [ -z "$ECS_VERSION" ]; then - _yellow "Unable to get version info, using default version 0.1.7" - ECS_VERSION="0.1.7" + _yellow "Unable to get version info, using default version 0.1.8" + ECS_VERSION="0.1.8" fi # Check if original goecs command exists version_output="" diff --git a/utils/utils.go b/utils/utils.go index 30725c9..3628f5b 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -153,6 +153,7 @@ func BasicsAndSecurityCheck(language, nt3CheckType string, securtyCheckStatus bo basicInfo := systemInfo + ipInfo if errv6 == nil && ipv6Info != "" { basicInfo += ipv6Info + basicInfo += "\n" } if strings.Contains(ipInfo, "IPV4") && strings.Contains(ipInfo, "IPV6") { uts.IPV4 = true