Update README

This commit is contained in:
Aoran Zeng 2024-07-24 17:30:54 +08:00
parent 036aa7e414
commit 9786eb4e7d

View File

@ -39,16 +39,15 @@
<details> <details>
<summary>Windows</summary> <summary>Windows</summary>
<br>
可通过 `scoop` 安装,感谢 [@Gn3po4g](https://github.com/Gn3po4g) 与 [@niheaven](https://github.com/niheaven) 可通过 `scoop` 安装,感谢 [@Gn3po4g](https://github.com/Gn3po4g) 与 [@niheaven](https://github.com/niheaven)
```bash ```bash
$ scoop install chsrc $ scoop install chsrc
``` ```
或手动下载二进制文件 或手动下载二进制文件,这是最新版,往往比 `scoop` 提供的更新,适用于修复 Bug、添加新功能后及时使用以及未安装 `scoop`
> [!TIP]
> 最新版,往往比 `scoop` 提供的更新,适用于修复 Bug、添加新功能后及时使用以及未安装 `scoop`
```bash ```bash
# x64 # x64
@ -62,6 +61,8 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x86-windo
<details> <details>
<summary>Linux</summary> <summary>Linux</summary>
<br>
```bash ```bash
# x64 # x64
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-linux -o chsrc; chmod +x ./chsrc curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-linux -o chsrc; chmod +x ./chsrc
@ -80,16 +81,15 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-armv7-lin
<details> <details>
<summary>macOS</summary> <summary>macOS</summary>
<br>
可通过 `homebrew` 安装,感谢 [@Aaron-212](https://github.com/Aaron-212) 与 [@chenrui333](https://github.com/chenrui333) 可通过 `homebrew` 安装,感谢 [@Aaron-212](https://github.com/Aaron-212) 与 [@chenrui333](https://github.com/chenrui333)
```bash ```bash
$ brew install chsrc $ brew install chsrc
``` ```
或手动下载二进制文件 或手动下载二进制文件,这是最新版,往往比 `homebrew` 提供的更新,适用于修复 Bug、添加新功能后及时使用
> [!TIP]
> 最新版,往往比 `homebrew` 提供的更新适用于修复bug、添加新功能后及时使用
```bash ```bash
# arm/aarch64 # arm/aarch64
@ -103,6 +103,8 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-macos
<details> <details>
<summary>BSD</summary> <summary>BSD</summary>
<br>
```bash ```bash
git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc
clang -Iinclude src/chsrc.c -o chsrc clang -Iinclude src/chsrc.c -o chsrc
@ -112,6 +114,8 @@ clang -Iinclude src/chsrc.c -o chsrc
<details> <details>
<summary>其他平台</summary> <summary>其他平台</summary>
<br>
```bash ```bash
git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; make git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; make
``` ```