Skip to content

Commit

Permalink
v0.1.8 - 在存在IPV6信息时修复排版缺少一个换行符
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS committed Jan 18, 2025
1 parent 94f9576 commit 91d1aa4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion goecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
)

var (
ecsVersion = "v0.1.7"
ecsVersion = "v0.1.8"
menuMode bool
onlyChinaTest bool
input, choice string
Expand Down
4 changes: 2 additions & 2 deletions goecs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down
1 change: 1 addition & 0 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91d1aa4

Please sign in to comment.