mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-20 18:05:08 +08:00
Update OS recipes
This commit is contained in:
@@ -12,15 +12,17 @@
|
||||
*/
|
||||
static Source_t os_msys2_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/msys2"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/msys2"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/msys2"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/msys2"},
|
||||
{&Tencent, "https://mirrors.tencent.com/msys2"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/msys2"},
|
||||
// {&Netease, "https://mirrors.163.com/msys2"}, /* 不启用原因:过慢 */
|
||||
// {&Sohu, "https://mirrors.sohu.com/msys2"} /* 不启用原因:过慢 */
|
||||
{&UpstreamProvider, NULL, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/msys2", DelegateToMirror},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/msys2", DelegateToMirror},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/msys2", DelegateToMirror},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/msys2", DelegateToMirror},
|
||||
{&Tencent, "https://mirrors.tencent.com/msys2", DelegateToMirror},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/msys2", DelegateToMirror},
|
||||
/* 不启用原因:过慢 */
|
||||
// {&Netease, "https://mirrors.163.com/msys2", DelegateToMirror},
|
||||
/* 不启用原因:过慢 */
|
||||
// {&Sohu, "https://mirrors.sohu.com/msys2", DelegateToMirror}
|
||||
};
|
||||
def_sources_n(os_msys2);
|
||||
|
||||
@@ -52,4 +54,21 @@ os_msys2_setsrc (char *option)
|
||||
chsrc_conclude (&source);
|
||||
}
|
||||
|
||||
def_target_s(os_msys2);
|
||||
|
||||
Feature_t
|
||||
os_msys2_feat (char *option)
|
||||
{
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = false;
|
||||
f.can_reset = false;
|
||||
|
||||
f.cap_locally = CanNot;
|
||||
f.can_english = false;
|
||||
f.can_user_define = true;
|
||||
|
||||
f.note = NULL;
|
||||
return f;
|
||||
}
|
||||
|
||||
def_target_sf(os_msys2);
|
||||
|
Reference in New Issue
Block a user