Merge pull request #7 from DullJZ/master

fix --config usage
This commit is contained in:
thank243 2024-03-11 19:24:14 +08:00 committed by GitHub
commit cf553388b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,7 @@
## 下载并使用 ## 下载并使用
1. 在此处,根据自身系统选择合适的版本:[Release](https://github.com/XrayR-project/XrayR/releases) 1. 在此处,根据自身系统选择合适的版本:[Release](https://github.com/XrayR-project/XrayR/releases)
2. 解压压缩包,之后运行:`./XrayR -config config.yml` 2. 解压压缩包,之后运行:`./XrayR --config config.yml`
## 编译并使用 ## 编译并使用
@ -15,7 +15,7 @@
cd XrayR/main cd XrayR/main
go mod tidy go mod tidy
go build -o XrayR -ldflags "-s -w" go build -o XrayR -ldflags "-s -w"
./XrayR -config config.yml ./XrayR --config config.yml
``` ```
配置文件详见:[配置文件说明](../../xrayr-pei-zhi-wen-jian-shuo-ming/config.md) 配置文件详见:[配置文件说明](../../xrayr-pei-zhi-wen-jian-shuo-ming/config.md)