Update recipe-template

This commit is contained in:
Aoran Zeng
2025-08-10 10:34:51 +08:00
parent aa923b4276
commit 820591362b
2 changed files with 10 additions and 8 deletions

View File

@@ -65,17 +65,18 @@ void
chef_allow_get();
chef_allow_set();
chef_allow_reset();
this.cap_local = PartiallyCan;
this.cap_local_explain = "具体说明是否支持项目级换源...";
this.can_english = false;
this.can_user_define = false;
chef_allow_local_mode (this, PartiallyCan, "具体说明是否支持项目级换源...", "Tell users the local mode support");
// chef_allow_english(this);
chef_forbid_english(this);
// chef_allow_user_define(this);
chef_forbid_user_define(this);
this.note = "备注说明...";
chef_set_note ("备注说明...", "Note...");
def_upstream("https://github.com/microsoft/winget-cli/");
def_upstream("https://github.com/RubyMetric/chsrc");
def_sources_begin()
{&upstream, "上游地址若维护者暂时未知可填NULL这个主要用于reset", DelegateToUpstream}
{&RubyMetric, "https://rubymetirc.com/target", DelegateToMirror},