SSHTunnel v1.1.0
项目重命名
- 项目统一命名为 SSHTunnel(Go 模块 sshsuidao -> sshtunnel)
- 二进制资产、安装脚本、更新检测、User-Agent 全部更新
新增桌面版变体(desktop variant)
- 通过 buildVariant(web/desktop)区分两种构建
- 资产命名:web = sshtunnel-{os}-{arch};desktop = sshtunnel-{os}-{arch}-desktop
- --check-update 与安装脚本按当前变体匹配对应资产
新增 CLI 参数
- --version:打印版本信息
- --check-update:检查新版本(退出码 0=最新/1=有更新/2=失败)
- --repo:指定 GitHub 仓库
资产清单
| 文件 | 平台 | 变体 |
|---|---|---|
| sshtunnel-linux-amd64 | Linux x86_64 | web |
| sshtunnel-linux-arm64 | Linux arm64 | web |
| sshtunnel-darwin-amd64 | macOS Intel | web |
| sshtunnel-darwin-arm64 | macOS Apple Silicon | web |
| sshtunnel-windows-amd64.exe | Windows x86_64 | web |
| sshtunnel-windows-amd64-desktop.exe | Windows x86_64 | desktop (GUI) |
macOS 桌面版需 osxcross 或在 macOS 原生构建,本版本未提供。
安装
curl -fsSL https://raw.githubusercontent.com/xuanlove/SSHTunnel/main/scripts/install.sh | sudo bash