Compare commits

..

2 Commits

Author SHA1 Message Date
spiritlhl
3bac30edc2 fix: 修复协程部分等待位置错误的问题 2025-06-29 07:02:10 +00:00
github-actions[bot]
9ef2ec4a9e chore: update ECS_VERSION to 0.1.38 in goecs.sh 2025-06-29 06:39:24 +00:00
2 changed files with 6 additions and 6 deletions

View File

@@ -615,9 +615,9 @@ func runStreamingTests(wg1 *sync.WaitGroup, mediaInfo string, output, tempOutput
} else {
utils.PrintCenteredTitle("Cross-Border-Streaming-Media-Unlock", width)
}
wg1.Wait()
fmt.Printf("%s", mediaInfo)
}
wg1.Wait()
}, tempOutput, output)
}
@@ -642,9 +642,9 @@ func runEmailTests(wg2 *sync.WaitGroup, emailInfo string, output, tempOutput str
} else {
utils.PrintCenteredTitle("Email-Port-Check", width)
}
wg2.Wait()
fmt.Println(emailInfo)
}
wg2.Wait()
}, tempOutput, output)
}
@@ -668,9 +668,9 @@ func runNetworkTests(wg3 *sync.WaitGroup, ptInfo string, output, tempOutput stri
return utils.PrintAndCapture(func() {
if onlyChinaTest || pingTestStatus {
utils.PrintCenteredTitle("三网ICMP的PING值检测", width)
wg3.Wait()
fmt.Println(ptInfo)
}
wg3.Wait()
}, tempOutput, output)
}

View File

@@ -143,7 +143,7 @@ goecs_check() {
os=$(uname -s 2>/dev/null || echo "Unknown")
arch=$(uname -m 2>/dev/null || echo "Unknown")
check_china
ECS_VERSION="0.1.37"
ECS_VERSION="0.1.38"
for api in \
"https://api.github.com/repos/oneclickvirt/ecs/releases/latest" \
"https://githubapi.spiritlhl.workers.dev/repos/oneclickvirt/ecs/releases/latest" \
@@ -155,8 +155,8 @@ goecs_check() {
sleep 1
done
if [ -z "$ECS_VERSION" ]; then
_yellow "Unable to get version info, using default version 0.1.37"
ECS_VERSION="0.1.37"
_yellow "Unable to get version info, using default version 0.1.38"
ECS_VERSION="0.1.38"
fi
version_output=""
for cmd_path in "goecs" "./goecs" "/usr/bin/goecs" "/usr/local/bin/goecs"; do