Update installation method for BSD users

This commit is contained in:
Aoran Zeng 2023-09-29 22:19:46 +08:00
parent 3e7f30ef8f
commit 575b97a6f6

View File

@ -53,11 +53,18 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/preview/chsrc-armv7
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/preview/chsrc-x64-macos -o chsrc; chmod +x ./chsrc
```
### BSD
*BSD 用户需要按照下述命令编译,编译好即可运行 `./chsrc`
```bash
git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; clang chsrc.c -o chsrc
```
### 没有您的平台?
编译是一件很简单的事,不要担心,只需在命令行复制粘贴这一行运行:
```bash
git clone https://gitee.com/RubyMetric/chsrc.git ; cd chsrc ; make
git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; make
# 运行试试看
./chsrc