File tree Expand file tree Collapse file tree 5 files changed +231
-452
lines changed
Expand file tree Collapse file tree 5 files changed +231
-452
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,17 @@ jobs:
3838 local os=$1
3939 local arch=$2
4040 local output="dist/sshx-${os}-${arch}"
41-
41+
4242 if [ "$os" = "windows" ]; then
4343 output="${output}.exe"
4444 fi
45-
45+
4646 echo "Building for $os/$arch..."
4747 GOOS=$os GOARCH=$arch CGO_ENABLED=0 go build \
4848 -ldflags="-s -w -X main.Version=${{ steps.get_version.outputs.VERSION }}" \
4949 -o "$output" \
5050 ./cmd/sshx
51-
51+
5252 # 压缩二进制文件
5353 if [ "$os" = "windows" ]; then
5454 zip "dist/sshx-${os}-${arch}.zip" "$output"
7979 body : |
8080 ## SSH & SFTP Remote Tool with MCP Support
8181
82- ### 下载说明
82+ ### 🚀 一键安装 (推荐)
83+
84+ #### Linux / macOS
85+ ```bash
86+ curl -fsSL https://raw.githubusercontent.com/${{ github.repository }}/main/install.sh | bash
87+ ```
88+
89+ #### Windows (PowerShell 管理员权限)
90+ ```powershell
91+ irm https://raw.githubusercontent.com/${{ github.repository }}/main/install.ps1 | iex
92+ ```
93+
94+ 📖 **详细安装文档**: [INSTALL.md](https://github.com/${{ github.repository }}/blob/main/INSTALL.md)
95+
96+ ---
97+
98+ ### 📦 手动下载
8399
84100 请根据您的操作系统选择对应的二进制文件:
85101
89105 - **macOS (Apple Silicon)**: `sshx-darwin-arm64.tar.gz`
90106 - **Windows (x86_64)**: `sshx-windows-amd64.zip`
91107
92- ### 安装方法
108+ ### 📝 手动安装方法
93109
94110 #### Linux / macOS
95111 ```bash
You can’t perform that action at this time.
0 commit comments