Skip to content

Commit 1a1a863

Browse files
Mikachu2333ccmywish
authored andcommitted
update
1 parent 329b97a commit 1a1a863

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

src/recipe/recipe-template.c

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,28 +59,28 @@ void
5959
<category>_<target>_prelude (void)
6060
{
6161
use_this(<category>_<target>);
62-
chef_allow_gsr(<category>_<target>); //代表支持 Get Set Reset 三种操作
63-
// chef_allow_s(<category>_<target>); //以此类推
62+
chef_allow_gsr(<category>_<target>); // 代表支持 Get Set Reset 三种操作
63+
// chef_allow_s(<category>_<target>); // 以此类推
6464
// chef_allow_gs(<category>_<target>);
6565
// chef_allow_sr(<category>_<target>);
6666

67-
chef_set_created_on (this, "2024-08-09"); //文件创建日期
68-
chef_set_last_updated (this, "2025-08-12"); //文件最后一次更新日期
69-
chef_set_sources_last_updated (this, "2025-08-11"); //镜像站点最后一次更新日期
67+
chef_set_created_on (this, "2024-08-09"); // 文件创建日期
68+
chef_set_last_updated (this, "2025-08-12"); // 文件最后一次更新日期
69+
chef_set_sources_last_updated (this, "2025-08-11"); // 镜像站点最后一次更新日期
7070

71-
chef_set_authors (this, 1, "Aoran Zeng", "[email protected]"); //作者
71+
chef_set_authors (this, 1, "Aoran Zeng", "[email protected]"); // 作者
7272
chef_set_chef (this, NULL, NULL);
73-
chef_set_cooks (this, 0); //想一直为它贡献和更新?将自己加在这里!
74-
chef_set_contributors (this, 1, //为它做了贡献?将自己的信息加在这里!
73+
chef_set_cooks (this, 0); // 想一直为它贡献和更新?将自己加在这里!
74+
chef_set_contributors (this, 1, // 为它做了贡献?将自己的信息加在这里!
7575
"Nil Null", "[email protected]");
7676

7777

7878
chef_allow_local_mode (this, PartiallyCan, "具体说明是否支持项目级换源...", "Tell users the local mode support");
7979

80-
// chef_allow_english(this); //项目是否支持英文
80+
// chef_allow_english(this); // 项目是否支持英文
8181
chef_forbid_english(this);
8282

83-
// chef_allow_user_define(this); //是否支持用户自定义镜像源
83+
// chef_allow_user_define(this); // 是否支持用户自定义镜像源
8484
chef_forbid_user_define(this);
8585

8686
chef_set_note ("中文备注说明...", "English note...");
@@ -143,4 +143,5 @@ void
143143
}
144144

145145

146-
//最后,别忘了将自己的文件加入 menu.c 和 chsrc-main.c 之中嗷~
146+
// 最后,请将自己的文件加入到 menu.c 和 chsrc-main.c 对应的位置
147+
// 形式可以参考其附近的其他食谱

0 commit comments

Comments
 (0)