Compare commits

..

2 Commits

Author SHA1 Message Date
spiritlhl
91d1aa4461 v0.1.8 - 在存在IPV6信息时修复排版缺少一个换行符 2025-01-18 19:11:13 +08:00
spiritlhl
94f9576383 Update README.md 2025-01-18 15:31:58 +08:00
4 changed files with 6 additions and 3 deletions

View File

@@ -83,6 +83,8 @@ Shell 版本:[https://github.com/spiritLHLS/ecs](https://github.com/spiritLHLS
#### **一键命令**
将默认安装依赖,默认更新包管理器,默认非互动模式,下面的非一键命令版本可控制是否安装依赖/是否更新包管理器/默认互动模式
- **国际用户无加速:**
```bash

View File

@@ -39,7 +39,7 @@ import (
)
var (
ecsVersion = "v0.1.7"
ecsVersion = "v0.1.8"
menuMode bool
onlyChinaTest bool
input, choice string

View File

@@ -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=""

View File

@@ -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