mirror of
http://bgp.hk.skcks.cn:10088/github.com/oneclickvirt/ecs
synced 2026-04-21 05:10:32 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3bac30edc2 | ||
|
|
9ef2ec4a9e |
6
goecs.go
6
goecs.go
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
6
goecs.sh
6
goecs.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user