mirror of
https://github.com/RubyMetric/chsrc
synced 2025-09-09 23:58:50 +08:00
update
This commit is contained in:
parent
329b97a245
commit
1a1a863938
@ -59,28 +59,28 @@ void
|
|||||||
<category>_<target>_prelude (void)
|
<category>_<target>_prelude (void)
|
||||||
{
|
{
|
||||||
use_this(<category>_<target>);
|
use_this(<category>_<target>);
|
||||||
chef_allow_gsr(<category>_<target>); //代表支持 Get Set Reset 三种操作
|
chef_allow_gsr(<category>_<target>); // 代表支持 Get Set Reset 三种操作
|
||||||
// chef_allow_s(<category>_<target>); //以此类推
|
// chef_allow_s(<category>_<target>); // 以此类推
|
||||||
// chef_allow_gs(<category>_<target>);
|
// chef_allow_gs(<category>_<target>);
|
||||||
// chef_allow_sr(<category>_<target>);
|
// chef_allow_sr(<category>_<target>);
|
||||||
|
|
||||||
chef_set_created_on (this, "2024-08-09"); //文件创建日期
|
chef_set_created_on (this, "2024-08-09"); // 文件创建日期
|
||||||
chef_set_last_updated (this, "2025-08-12"); //文件最后一次更新日期
|
chef_set_last_updated (this, "2025-08-12"); // 文件最后一次更新日期
|
||||||
chef_set_sources_last_updated (this, "2025-08-11"); //镜像站点最后一次更新日期
|
chef_set_sources_last_updated (this, "2025-08-11"); // 镜像站点最后一次更新日期
|
||||||
|
|
||||||
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); //作者
|
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); // 作者
|
||||||
chef_set_chef (this, NULL, NULL);
|
chef_set_chef (this, NULL, NULL);
|
||||||
chef_set_cooks (this, 0); //想一直为它贡献和更新?将自己加在这里!
|
chef_set_cooks (this, 0); // 想一直为它贡献和更新?将自己加在这里!
|
||||||
chef_set_contributors (this, 1, //为它做了贡献?将自己的信息加在这里!
|
chef_set_contributors (this, 1, // 为它做了贡献?将自己的信息加在这里!
|
||||||
"Nil Null", "nil@null.org");
|
"Nil Null", "nil@null.org");
|
||||||
|
|
||||||
|
|
||||||
chef_allow_local_mode (this, PartiallyCan, "具体说明是否支持项目级换源...", "Tell users the local mode support");
|
chef_allow_local_mode (this, PartiallyCan, "具体说明是否支持项目级换源...", "Tell users the local mode support");
|
||||||
|
|
||||||
// chef_allow_english(this); //项目是否支持英文
|
// chef_allow_english(this); // 项目是否支持英文
|
||||||
chef_forbid_english(this);
|
chef_forbid_english(this);
|
||||||
|
|
||||||
// chef_allow_user_define(this); //是否支持用户自定义镜像源
|
// chef_allow_user_define(this); // 是否支持用户自定义镜像源
|
||||||
chef_forbid_user_define(this);
|
chef_forbid_user_define(this);
|
||||||
|
|
||||||
chef_set_note ("中文备注说明...", "English note...");
|
chef_set_note ("中文备注说明...", "English note...");
|
||||||
@ -143,4 +143,5 @@ void
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//最后,别忘了将自己的文件加入 menu.c 和 chsrc-main.c 之中嗷~
|
// 最后,请将自己的文件加入到 menu.c 和 chsrc-main.c 对应的位置
|
||||||
|
// 形式可以参考其附近的其他食谱
|
||||||
|
Loading…
x
Reference in New Issue
Block a user