mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-06-08 13:29:56 +00:00
Better build naming & notun README
This commit is contained in:
parent
837ead24cc
commit
481abdf41d
22
.github/workflows/release-tun.yml
vendored
22
.github/workflows/release-tun.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
xgo_version: latest
|
||||
go_version: latest
|
||||
dest: dist
|
||||
prefix: hysteria-tun
|
||||
prefix: hysteria
|
||||
targets: linux/amd64,linux/386,linux/arm-5,linux/arm-7,linux/arm64,linux/mipsle,darwin-10.12/amd64,darwin-10.12/arm64,windows-6.0/amd64,windows-6.0/386
|
||||
ldflags: -w -s -X main.appVersion=${{ env.GIT_TAG_NAME }} -X main.appCommit=${{ github.sha }} -X main.appDate=${{ env.TIME }}
|
||||
pkg: cmd
|
||||
@ -46,13 +46,13 @@ jobs:
|
||||
gzip: false
|
||||
allow_override: true
|
||||
files: >
|
||||
./dist/hysteria-tun-linux-amd64
|
||||
./dist/hysteria-tun-linux-386
|
||||
./dist/hysteria-tun-linux-arm-5
|
||||
./dist/hysteria-tun-linux-arm-7
|
||||
./dist/hysteria-tun-linux-arm64
|
||||
./dist/hysteria-tun-linux-mipsle
|
||||
./dist/hysteria-tun-darwin-10.12-amd64
|
||||
./dist/hysteria-tun-darwin-10.12-arm64
|
||||
./dist/hysteria-tun-windows-6.0-amd64.exe
|
||||
./dist/hysteria-tun-windows-6.0-386.exe
|
||||
./dist/hysteria-linux-amd64
|
||||
./dist/hysteria-linux-386
|
||||
./dist/hysteria-linux-arm-5
|
||||
./dist/hysteria-linux-arm-7
|
||||
./dist/hysteria-linux-arm64
|
||||
./dist/hysteria-linux-mipsle
|
||||
./dist/hysteria-darwin-10.12-amd64
|
||||
./dist/hysteria-darwin-10.12-arm64
|
||||
./dist/hysteria-windows-6.0-amd64.exe
|
||||
./dist/hysteria-windows-6.0-386.exe
|
||||
|
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
TIME: "${{ steps.current-time.outputs.time }}"
|
||||
CGO_ENABLED: "0"
|
||||
with:
|
||||
name: hysteria
|
||||
name: hysteria-notun
|
||||
dest: ./dist/
|
||||
ldflags: -w -s -X main.appVersion=${{ env.GIT_TAG_NAME }} -X main.appCommit=${{ github.sha }} -X main.appDate=${{ env.TIME }}
|
||||
platforms: 'linux/amd64, linux/386, linux/arm, linux/arm64, linux/mipsle, darwin/amd64, darwin/arm64, windows/amd64, windows/386'
|
||||
@ -46,8 +46,8 @@ jobs:
|
||||
gzip: false
|
||||
allow_override: true
|
||||
files: >
|
||||
./dist/hysteria-linux-amd64
|
||||
./dist/hysteria-linux-386
|
||||
./dist/hysteria-linux-arm
|
||||
./dist/hysteria-linux-arm64
|
||||
./dist/hysteria-linux-mipsle
|
||||
./dist/hysteria-notun-linux-amd64
|
||||
./dist/hysteria-notun-linux-386
|
||||
./dist/hysteria-notun-linux-arm
|
||||
./dist/hysteria-notun-linux-arm64
|
||||
./dist/hysteria-notun-linux-mipsle
|
||||
|
@ -31,6 +31,9 @@ currently has the following features: (still growing!)
|
||||
### Windows, Linux, macOS CLI
|
||||
|
||||
- Download pre-built binaries from https://github.com/tobyxdd/hysteria/releases
|
||||
- Linux builds are available as `hysteria` (with tun support) and `hysteria-notun` (without tun support). Builds
|
||||
without tun support are statically linked and do not depend on glibc. If you use a non-standard distribution that
|
||||
can't run `hysteria` properly, try `hysteria-notun` instead.
|
||||
- Pull the image from Docker Hub: https://hub.docker.com/r/tobyxdd/hysteria
|
||||
- Use our Arch Linux AUR: https://aur.archlinux.org/packages/hysteria/
|
||||
- Build from source with `go build ./cmd`
|
||||
|
@ -28,6 +28,8 @@ Hysteria 是一个功能丰富的,专为恶劣网络环境进行优化的网
|
||||
### Windows, Linux, macOS CLI
|
||||
|
||||
- 从 https://github.com/tobyxdd/hysteria/releases 下载编译好的版本
|
||||
- Linux 分为 `hysteria` (带有 tun 支持) 和 `hysteria-notun` (无 tun 支持) 两个版本。无 tun 支持的版本是静态链接,不依赖系统
|
||||
glibc 的。如果你使用了非标准 Linux 发行版,无法正常执行 `hysteria`,可尝试 `hysteria-notun`
|
||||
- Docker 镜像: https://hub.docker.com/r/tobyxdd/hysteria
|
||||
- 使用 Arch Linux AUR: https://aur.archlinux.org/packages/hysteria/
|
||||
- 自己用 `go build ./cmd` 从源码编译
|
||||
|
Loading…
x
Reference in New Issue
Block a user