diff --git a/go.mod b/go.mod index ff6f3f5..d13c510 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.22.4 require ( github.com/imroc/req/v3 v3.43.7 github.com/oneclickvirt/CommonMediaTests v0.0.4-20240704024502 - github.com/oneclickvirt/UnlockTests v0.0.16-20240822120857 + github.com/oneclickvirt/UnlockTests v0.0.16-20240823051211 github.com/oneclickvirt/backtrace v0.0.4-20240702140722 github.com/oneclickvirt/basics v0.0.7-20240821160408 github.com/oneclickvirt/cputest v0.0.8-20240702070215 diff --git a/go.sum b/go.sum index 55b703f..0cbc9b4 100644 --- a/go.sum +++ b/go.sum @@ -104,8 +104,8 @@ github.com/nxtrace/NTrace-core v1.3.2 h1:8aU/IQFmPnwbaWGVBIJHwwVIWk+roo+9+lG+U0O github.com/nxtrace/NTrace-core v1.3.2/go.mod h1:qCVsgSs982jw02BVjTtN8mjSg5OIXW9TaUdISQrMnTw= github.com/oneclickvirt/CommonMediaTests v0.0.4-20240704024502 h1:hRIYJ2uEp2N3AH5bP5X6bwfdwWfZQO/2WoqpUJ8+WsY= github.com/oneclickvirt/CommonMediaTests v0.0.4-20240704024502/go.mod h1:DAmFPRjFV5p9fEzUUSml5jJGn2f1NZJQCzTxITHDjc4= -github.com/oneclickvirt/UnlockTests v0.0.16-20240822120857 h1:LCOZk4RRmipObNreCOwFzgT97GtXeUqdvdLk5Ja/zTo= -github.com/oneclickvirt/UnlockTests v0.0.16-20240822120857/go.mod h1:UELwZDDiddSxe38boYOPl1FlrL0ptEZYSQwdE3MYvUM= +github.com/oneclickvirt/UnlockTests v0.0.16-20240823051211 h1:oDYlAXbUSt6JYTC+wcFDVWTacGuyBtWNfJhpKkrqNkU= +github.com/oneclickvirt/UnlockTests v0.0.16-20240823051211/go.mod h1:UELwZDDiddSxe38boYOPl1FlrL0ptEZYSQwdE3MYvUM= github.com/oneclickvirt/backtrace v0.0.4-20240702140722 h1:UJ/VWf+ZbhGarc9HcHMIyenpmX+b2LxkXu0hlLk3Gxs= github.com/oneclickvirt/backtrace v0.0.4-20240702140722/go.mod h1:zvsC7xY/WZqs5KL2JB967OVnuqjNbxu9bW6wXRLo5h8= github.com/oneclickvirt/basics v0.0.7-20240821160408 h1:IOqa7bBAkjhfru6arDsOTKB7qZ36ojfOP73kE+cDaqc= diff --git a/goecs.go b/goecs.go index 1e9b792..e6c55d8 100644 --- a/goecs.go +++ b/goecs.go @@ -38,7 +38,7 @@ import ( ) var ( - ecsVersion = "v0.0.73" + ecsVersion = "v0.0.74" menuMode bool onlyChinaTest bool input, choice string diff --git a/goecs.sh b/goecs.sh index bf1f224..6afdb58 100644 --- a/goecs.sh +++ b/goecs.sh @@ -358,7 +358,10 @@ env_check() { fi if ! command -v dd >/dev/null 2>&1; then _green "Installing dd" - ${PACKAGE_INSTALL[int]} dd + ${PACKAGE_INSTALL[int]} coreutils + if [ $? -ne 0 ]; then + ${PACKAGE_INSTALL[int]} man + fi fi if ! command -v fio >/dev/null 2>&1; then _green "Installing fio"