终端中 下载文件
终端中 使用 github_proxy 和 geph_proxy 两个脚本( GitHub 镜像站 和 Gphe Http端口 加速网站访问) 每次都无需 线上打开软件更新, 直接抓取链接下载即可
Github KanBanPro为例
# wget 支持 断点续传
wget -c "https://github.com/donkruger/Kanban/releases/download/v1.1.59-early-access/Kanban-Pro-1.1.59-arm64-mac.zip"# 验证再解压
unzip -t Kanban-Pro-1.1.59-arm64-mac.zip # 测试压缩包是否完整
unzip Kanban-Pro-1.1.59-arm64-mac.zip -d ~/Downloads
unzip -o Kanban-Pro-1.1.59-arm64-mac.zip -d ~/Downloads # -o 表示无条件覆盖,不会再问 若存在同名文件# macOS 特有的坑:终端下载的 app 会带 com.apple.quarantine 隔离属性
xattr -dr com.apple.quarantine ~/Downloads/"Kanban Pro.app"#发布页面提供了 SHA-256 校验值 可选
shasum -a 256 Kanban-Pro-1.1.59-arm64-mac.zip