diff --git a/README.md b/README.md index ac626f9..c79e5b4 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@
-## 示例 +## 📌 示例
chsrc logo @@ -18,7 +18,7 @@
-## 安装 +## 🚀 安装 Packaging status @@ -34,20 +34,19 @@ --- -以下手动方式均下载到当前目录,可直接通过 `./chsrc` 运行。 +> [!TIP] +> 若通过下述手动方式安装,则会下载到当前目录,可直接通过 `./chsrc` 运行
Windows -
- -可通过 `scoop` 安装,感谢 [@Gn3po4g](https://github.com/Gn3po4g) 与 [@niheaven](https://github.com/niheaven) +- 可通过 `scoop` 安装,感谢 [@Gn3po4g](https://github.com/Gn3po4g) 与 [@niheaven](https://github.com/niheaven) ```bash $ scoop install chsrc ``` -或手动下载二进制文件,这是最新版,往往比 `scoop` 提供的更新,适用于修复 Bug、添加新功能后及时使用,以及未安装 `scoop` 时 +- 或手动下载二进制文件,这是最新版,往往比 `scoop` 提供的更新,适用于修复 Bug、添加新功能后及时使用,以及未安装 `scoop` 时 ```bash # x64 @@ -61,8 +60,6 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x86-windo
Linux -
- ```bash # x64 curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-linux -o chsrc; chmod +x ./chsrc @@ -81,15 +78,13 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-armv7-lin
macOS -
- -可通过 `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 $ brew install chsrc ``` -或手动下载二进制文件,这是最新版,往往比 `homebrew` 提供的更新,适用于修复 Bug、添加新功能后及时使用 +- 或手动下载二进制文件,这是最新版,往往比 `homebrew` 提供的更新,适用于修复 Bug、添加新功能后及时使用 ```bash # arm/aarch64 @@ -103,8 +98,6 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-macos
BSD -
- ```bash git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc clang -Iinclude src/chsrc.c -o chsrc @@ -114,8 +107,6 @@ clang -Iinclude src/chsrc.c -o chsrc
其他平台 -
- ```bash git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; make ``` @@ -123,7 +114,7 @@ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; make
-## 使用 +## 💡 使用 ```bash 使用: chsrc [options] [target] [mirror] @@ -252,7 +243,7 @@ chsrc set conda 或 set anaconda
-## 开发 +## 🛠️ 开发 请安装好 `gcc`或`clang` 和 `make` 以及 `curl` @@ -271,14 +262,14 @@ make clean
-## 许可证 +## 📝 许可证 - `chsrc` 主程序采用 `GPL-3.0-or-later` 许可证,保证该软件的永久自由 - `xy.h` 使用 `MIT` 许可证,保证该库可以在尽可能多的情况下复用
-## 致谢 +## ❤️ 致谢 感谢各个镜像站提供的优质免费镜像服务,使用的镜像站见 [source.h](./include/source.h).