mirror of
https://github.com/qingchencloud/cftunnel.git
synced 2026-08-28 10:03:59 +08:00
a7e4cf9dff
- goreleaser 添加 windows 构建(zip 格式) - cloudflared 下载支持 Windows + macOS tgz 解压 - 进程管理跨平台(process_unix/process_windows) - 信号处理跨平台(signal_unix/signal_windows) - Windows Service 实现(sc.exe) - selfupdate 支持 Windows zip 格式 - PowerShell 安装脚本 - README 添加 Windows 安装说明
24 lines
470 B
YAML
24 lines
470 B
YAML
project_name: cftunnel
|
|
|
|
builds:
|
|
- env: [CGO_ENABLED=0]
|
|
goos: [darwin, linux, windows]
|
|
goarch: [amd64, arm64]
|
|
ldflags:
|
|
- -s -w -X github.com/qingchencloud/cftunnel/cmd.Version={{.Version}}
|
|
|
|
archives:
|
|
- format: tar.gz
|
|
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
|
|
checksum:
|
|
name_template: checksums.txt
|
|
|
|
release:
|
|
github:
|
|
owner: qingchencloud
|
|
name: cftunnel
|