diff --git a/src/chsrc-main.c b/src/chsrc-main.c index 03f6e94..a17d89f 100644 --- a/src/chsrc-main.c +++ b/src/chsrc-main.c @@ -16,6 +16,7 @@ * | xuan * | GnixAij * | ChatGPT + * | czyt * | * Created On : <2023-08-28> * Last Modified : <2024-10-31> diff --git a/src/recipe/lang/Dart/Flutter.c b/src/recipe/lang/Dart/Flutter.c index 52f7c1d..bfdc63f 100644 --- a/src/recipe/lang/Dart/Flutter.c +++ b/src/recipe/lang/Dart/Flutter.c @@ -2,19 +2,18 @@ * SPDX-License-Identifier: GPL-3.0-or-later * ------------------------------------------------------------- * File Authors : Aoran Zeng - * Contributors : Nil Null - * | czyt + * Contributors : czyt + * | * Created On : <2023-09-10> - * Major Revision : 3 + * Major Revision : 2 * Last Modified : <2024-10-31> * * 2024-09-14: 不得不将Dart和Flutter拆分为两个Target, * 因为3家教育网镜像站给出的 Dart 和 Flutter 换源URL模式都不一样 - * 2024-10-31: 补充FLUTTER_STORAGE_BASE_URL的默认源地址 * ------------------------------------------------------------*/ /** - * @update 2024-09-14 + * @update 2024-10-31 */ static SourceInfo pl_dart_flutter_sources[] = { diff --git a/src/recipe/lang/Dart/Pub.c b/src/recipe/lang/Dart/Pub.c index 0bea032..16e3041 100644 --- a/src/recipe/lang/Dart/Pub.c +++ b/src/recipe/lang/Dart/Pub.c @@ -2,19 +2,17 @@ * SPDX-License-Identifier: GPL-3.0-or-later * ------------------------------------------------------------- * File Authors : Aoran Zeng - * Contributors : Nil Null - * | czyt + * Contributors : czyt + * | * Created On : <2023-09-10> - * Major Revision : 4 + * Major Revision : 3 * Last Modified : <2024-10-31> * - * 2024-10-31: 补充PUB_HOSTED_URL的默认源地址 - * * Dart Pub 软件仓库 * ------------------------------------------------------------*/ /** - * @update 2024-09-14 + * @update 2024-10-31 */ static SourceInfo pl_dart_sources[] = { diff --git a/src/recipe/lang/Go.c b/src/recipe/lang/Go.c index 4405957..a2537a9 100644 --- a/src/recipe/lang/Go.c +++ b/src/recipe/lang/Go.c @@ -1,14 +1,12 @@ /** ------------------------------------------------------------ * SPDX-License-Identifier: GPL-3.0-or-later * ------------------------------------------------------------- - * File Authors : Aoran Zeng - * Contributors : Nil Null - * | czyt - * Created On : <2023-08-30> + * File Authors : Aoran Zeng + * Contributors : czyt + * | + * Created On : <2023-08-30> * Major Revision : 1 - * Last Modified : <2024-10-31> - * - * 2024-10-31: 补充Go语言的默认GOPROXY地址 + * Last Modified : <2024-10-31> * ------------------------------------------------------------*/ static MirrorSite @@ -20,12 +18,12 @@ GoProxyIO = {"goproxy.io", "GOPROXY.IO", "GOPROXY.IO", "https://gopr /** - * @time 2024-04-18 更新 + * @update 2024-10-31 * @note 缺少教育网软件源 */ static SourceInfo pl_go_sources[] = { - {&Upstream, "https://proxy.golang.org,direct"}, + {&Upstream, "https://proxy.golang.org"}, {&GoProxyCN, "https://goproxy.cn"}, {&Ali, "https://mirrors.aliyun.com/goproxy/"}, {&Huawei, "https://mirrors.huaweicloud.com/goproxy/"}, @@ -48,6 +46,7 @@ pl_go_check_cmd () } } + void pl_go_getsrc (char *option) { @@ -55,8 +54,11 @@ pl_go_getsrc (char *option) chsrc_run ("go env GOPROXY", RunOpt_Default); } + /** - * Go换源,参考:https://goproxy.cn/ + * chsrc set go + * + * @consult https://goproxy.cn/ */ void pl_go_setsrc (char *option)