mirror of
https://github.com/RubyMetric/chsrc
synced 2025-08-09 21:35:33 +08:00
Format comments
This commit is contained in:
parent
c455dda5fc
commit
d4e77a4050
@ -27,7 +27,7 @@
|
||||
* | MadDogOwner <xiaoran@xrgzs.top>
|
||||
* | sanchuanhehe <wyihe5520@gmail.com>
|
||||
* | Mikachu2333 <mikachu.23333@zohomail.com>
|
||||
* | Rui Yang <techoc@foxmail.com>
|
||||
* | Rui Yang <techoc@foxmail.com>
|
||||
* |
|
||||
* Created On : <2023-08-28>
|
||||
* Last Modified : <2025-07-12>
|
||||
@ -35,7 +35,7 @@
|
||||
* chsrc: Change Source —— 全平台通用命令行换源工具
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
#define Chsrc_Version "0.2.1.4"
|
||||
#define Chsrc_Version "0.2.1.4-dev1"
|
||||
#define Chsrc_Release_Date "2025/07/12"
|
||||
#define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc"
|
||||
#define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc"
|
||||
|
@ -3,7 +3,7 @@
|
||||
* -------------------------------------------------------------
|
||||
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
||||
* Contributors : czyt <czyt.go@gmail.com>
|
||||
* | Rui Yang <techoc@foxmail.com>
|
||||
* | Rui Yang <techoc@foxmail.com>
|
||||
* |
|
||||
* Created On : <2023-08-30>
|
||||
* Major Revision : 1
|
||||
@ -32,17 +32,20 @@ GoProxyIO =
|
||||
|
||||
|
||||
/**
|
||||
* @update 2024-12-18
|
||||
* @update 2025-07-12
|
||||
*
|
||||
* @note 缺少教育网软件源
|
||||
*/
|
||||
static Source_t pl_go_sources[] =
|
||||
{
|
||||
{&pl_go_upstream, "https://proxy.golang.org", NULL},
|
||||
{&GoProxyCN, "https://goproxy.cn", DelegateToMirror},
|
||||
{&Ali, "https://mirrors.aliyun.com/goproxy/", NULL},
|
||||
// 注释华为镜像源 详见 https://github.com/RubyMetric/chsrc/issues/227
|
||||
// {&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL},
|
||||
{&GoProxyIO, "https://goproxy.io", DelegateToMirror}
|
||||
{&GoProxyCN, "https://goproxy.cn", DelegateToMirror},
|
||||
{&Ali, "https://mirrors.aliyun.com/goproxy/", NULL},
|
||||
|
||||
// 暂时停用华为镜像源, 详见 https://github.com/RubyMetric/chsrc/issues/227
|
||||
// {&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL},
|
||||
|
||||
{&GoProxyIO, "https://goproxy.io", DelegateToMirror}
|
||||
};
|
||||
def_sources_n(pl_go);
|
||||
|
||||
|
@ -117,7 +117,7 @@ pl_python_uv_setsrc (char *option)
|
||||
* sed -i '/^\[\[index\]\]$/,/^default = true$/{s|^url = ".*"$|url = " source.url "|}' uv_config
|
||||
* 将 [[index]] 到 default = true 之间的 url = ".*" 替换为 url = "source.url"
|
||||
*/
|
||||
#if XY_On_macOS
|
||||
#if defined(XY_On_macOS) || defined(XY_On_BSD)
|
||||
char *sed_cmd = "sed -i '' ";
|
||||
#else
|
||||
char *sed_cmd = "sed -i ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user