i-abc / Speedtest

多功能测速脚本 | Multi-functional speedtest script
https://bash.icu/speedtest
GNU General Public License v3.0
604 stars 48 forks source link

macOS 待支持 #8

Open nearzk opened 9 months ago

nearzk commented 9 months ago

运行平台:MacOS 13.5.1 命令:bash <(curl -sL https://raw.githubusercontent.com/i-abc/Speedtest/main/speedtest.sh) 错误: ➜ ~ bash <(curl -sL https://raw.githubusercontent.com/i-abc/Speedtest/main/speedtest.sh) ------------------------ 多功能 自更新 测速脚本 ------------------------ Version : v2023-09-10 Usage : bash <(curl -sL bash.icu/speedtest) GitHub : https://github.com/i-abc/speedtest

使用默认源 正在检测所需的tar是否安装 /usr/bin/tar 正在检测所需的curl是否安装 /usr/bin/curl 正在检测所需的iperf3是否安装 /usr/local/bin/iperf3 正在检测所需的bc是否安装 /usr/bin/bc https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-x86_64.tgz speedtest-cli下载中 ####################################################################################################################################################################################################### 100.0% https://github.com/veoco/bim-core/releases/download/v0.15.2/bimc-x86_64-unknown-linux-musl bim-core下载中 ####################################################################################################################################################################################################### 100.0% https://github.com/showwin/speedtest-go/releases/download/v1.6.5/speedtest-go_1.6.5_Linux_x86_64.tar.gz speedtest-go下载中 ####################################################################################################################################################################################################### 100.0% https://github.com/librespeed/speedtest-cli/releases/download/v1.0.10/librespeed-cli_1.0.10_linux_amd64.tar.gz librespeed-cli下载中 ####################################################################################################################################################################################################### 100.0% /dev/fd/11: line 222: sha256sum: command not found /dev/fd/11: line 223: sha256sum: command not found /dev/fd/11: line 224: sha256sum: command not found /dev/fd/11: line 225: sha256sum: command not found 经检测,speedtest-cli的SHA-256与官方不符,方便的话欢迎到GitHub反馈

i-abc commented 9 months ago

目前只支持 Linux,还不支持 macOS,但 macOS 应该也能搞,这个得等我去熟悉一下 macOS。