diff --git a/README.md b/README.md index f7857840..c5fc0318 100644 --- a/README.md +++ b/README.md @@ -24,15 +24,15 @@ Shell 版本:[https://github.com/spiritLHLS/ecs](https://github.com/spiritLHLS ### **编译与测试支持情况** | 编译支持的架构 | 测试支持的架构 | 编译支持的系统 | 测试支持的系统 | -|---------------------------|-----------|------------------------------|-----------| -| amd64 | amd64 | Linux | Linux | -| arm | arm | Windows | Windows | -| arm64 | arm64 | FreeBSD | FreeBSD | -| 386 | 386 | | | -| mips | | MacOS | | -| mipsle | | | | -| s390x | s390x | | | -| riscv64 | | | | +|---------------------------|-----------|---------|-----------| +| amd64 | amd64 | Linux | Linux | +| arm | arm | Windows | Windows | +| arm64 | arm64 | FreeBSD | FreeBSD | +| 386 | 386 | OpenBSD | | +| mips | | MacOS | | +| mipsle | | | | +| s390x | s390x | | | +| riscv64 | | | | > 更多架构与系统请自行测试,如有问题请开 issues。 diff --git a/README_EN.md b/README_EN.md index 7b75333a..39be7fb9 100644 --- a/README_EN.md +++ b/README_EN.md @@ -28,7 +28,7 @@ Shell version: [https://github.com/spiritLHLS/ecs/blob/main/README_EN.md](https: | amd64 | amd64 | Linux | Linux | | arm | arm | Windows | Windows | | arm64 | arm64 | FreeBSD | FreeBSD | -| 386 | 386 | | | +| 386 | 386 | OpenBSD | | | mips | | MacOS | | | mipsle | | | | | s390x | s390x | | | diff --git a/goecs.go b/goecs.go index eb3309c4..cd461270 100644 --- a/goecs.go +++ b/goecs.go @@ -358,9 +358,17 @@ func main() { } // 给打印操作一些时间完成 time.Sleep(100 * time.Millisecond) + if runtime.GOOS == "windows" || runtime.GOOS == "darwin" { + fmt.Println("Press Enter to exit...") + fmt.Scanln() + } os.Exit(0) case <-time.After(30 * time.Second): fmt.Println("上传超时,程序退出") + if runtime.GOOS == "windows" || runtime.GOOS == "darwin" { + fmt.Println("Press Enter to exit...") + fmt.Scanln() + } os.Exit(1) } }