diff --git a/doc/Write-A-Recipe-Even-If-You-Dont-Know-C.md b/doc/Write-A-Recipe-Even-If-You-Dont-Know-C.md index 4ba97d8..be48caa 100644 --- a/doc/Write-A-Recipe-Even-If-You-Dont-Know-C.md +++ b/doc/Write-A-Recipe-Even-If-You-Dont-Know-C.md @@ -5,12 +5,12 @@ ! Contributors : Nul None ! | ! Created On : <2024-08-19> - ! Last Modified : <2024-08-19> + ! Last Modified : <2024-08-22> ! ---------------------------------------------------------- --> # Write A Recipe Even If You Don't Know C -# 你是主厨 Chef +# 介绍 **`chsrc` 不仅是一个命令行工具,同时也是一个换源框架,它甚至使你能够在不了解C语言的情况下编写出新的换源方法(recipe)。** @@ -56,7 +56,7 @@ 5. 可以使用 `chsrc.h` 中暴露出的任何 `chsrc_` 开头的函数或宏 -6. 在 `catalog.c` 中添加用户可以使用的 `target` 别名 +6. 在 `menu.c` 中添加用户可以使用的 `target` 别名 7. 构建并运行 `chsrc set ` 测试,若无问题可提交 Pull Request diff --git a/src/chsrc.c b/src/chsrc.c index ac20bf3..91154fa 100644 --- a/src/chsrc.c +++ b/src/chsrc.c @@ -11,7 +11,7 @@ * | BlockLune * | * Created On : <2023-08-28> - * Last Modified : <2024-08-19> + * Last Modified : <2024-08-22> * * chsrc: Change Source —— 全平台通用命令行换源工具 * ------------------------------------------------------------*/ @@ -95,7 +95,7 @@ #include "recipe/ware/Docker-Hub.c" #include "recipe/ware/Anaconda.c" -#include "recipe/catalog.c" +#include "recipe/menu.c" static const char * diff --git a/src/recipe/catalog.c b/src/recipe/menu.c similarity index 100% rename from src/recipe/catalog.c rename to src/recipe/menu.c