chore: update ECS_VERSION to 0.1.49 in goecs.sh

This commit is contained in:
github-actions[bot]
2025-07-01 12:18:04 +00:00
parent ca0470f01a
commit 9886cad73e

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.48"
ECS_VERSION="0.1.49"
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.48"
ECS_VERSION="0.1.48"
_yellow "Unable to get version info, using default version 0.1.49"
ECS_VERSION="0.1.49"
fi
version_output=""
for cmd_path in "goecs" "./goecs" "/usr/bin/goecs" "/usr/local/bin/goecs"; do