mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-21 07:39:35 +08:00
Prerelease 0.2.2-alpha1
This commit is contained in:
parent
887eec51f6
commit
35f85e048a
@ -31,13 +31,13 @@
|
|||||||
* | Rui Yang <techoc@foxmail.com>
|
* | Rui Yang <techoc@foxmail.com>
|
||||||
* |
|
* |
|
||||||
* Created On : <2023-08-28>
|
* Created On : <2023-08-28>
|
||||||
* Last Modified : <2025-07-14>
|
* Last Modified : <2025-07-15>
|
||||||
*
|
*
|
||||||
* chsrc: Change Source —— 全平台通用命令行换源工具
|
* chsrc: Change Source —— 全平台通用命令行换源工具
|
||||||
* ------------------------------------------------------------*/
|
* ------------------------------------------------------------*/
|
||||||
|
|
||||||
#define Chsrc_Version "0.2.1.5-dev1"
|
#define Chsrc_Version "0.2.2-alpha1"
|
||||||
#define Chsrc_Release_Date "2025/07/12"
|
#define Chsrc_Release_Date "2025/07/15"
|
||||||
#define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc"
|
#define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc"
|
||||||
#define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc"
|
#define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc"
|
||||||
|
|
||||||
@ -170,7 +170,9 @@ Chsrc_Usage[] = {
|
|||||||
"-no-color 无颜色输出\n",
|
"-no-color 无颜色输出\n",
|
||||||
|
|
||||||
"镜像站状态: <https://github.com/RubyMetric/chsrc/wiki>",
|
"镜像站状态: <https://github.com/RubyMetric/chsrc/wiki>",
|
||||||
"维护: <" Chsrc_Maintain_URL ">"
|
"维护: <" Chsrc_Maintain_URL ">\n",
|
||||||
|
|
||||||
|
"邀请您担任 Chef 或 Taster, 为用户把关您熟悉的秘制菜肴 (recipe): <https://github.com/RubyMetric/chsrc/issues/130>"
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
@ -203,7 +205,9 @@ Chsrc_Usage_English[] = {
|
|||||||
"-no-color Output without color\n",
|
"-no-color Output without color\n",
|
||||||
|
|
||||||
"Mirror status: <https://github.com/RubyMetric/chsrc/wiki>",
|
"Mirror status: <https://github.com/RubyMetric/chsrc/wiki>",
|
||||||
"Maintain: <" Chsrc_Maintain_URL ">"
|
"Maintain: <" Chsrc_Maintain_URL ">\n",
|
||||||
|
|
||||||
|
"We sincerely invite you to become a Chef or Taster to ensure the quality of recipes you are familiar with for users: <https://github.com/RubyMetric/chsrc/issues/130>"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -513,19 +517,15 @@ iterate_targets_ (const char ***array, size_t size, const char *input, const cha
|
|||||||
* 我们总是最后告诉用户一些维护信息
|
* 我们总是最后告诉用户一些维护信息
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
cli_notify_for_users ()
|
cli_notify_lastly_for_users ()
|
||||||
{
|
{
|
||||||
char *msg = "2025-07-11:\n\n"
|
char *msg = "2025-07-15:\n\n"
|
||||||
|
|
||||||
" 有时,同一镜像站对不同资源的实际服务速度差异,可能比不同镜像站之间的差异还要大。\n\n"
|
|
||||||
|
|
||||||
" * 精准测速: 能真实反映你未来使用该资源时的速度,因为它直接测量你关注的那个资源。\n\n"
|
|
||||||
|
|
||||||
|
" * 精准测速: 能真实反映你未来使用该资源时的速度,因为它直接测量你关注的那个资源。\n"
|
||||||
" * 模糊测速: 仅代表该镜像站提供服务的一个可能速度。因而可能会出现测速数值较高,但实际使用体验不佳的现象。\n\n"
|
" * 模糊测速: 仅代表该镜像站提供服务的一个可能速度。因而可能会出现测速数值较高,但实际使用体验不佳的现象。\n\n"
|
||||||
|
|
||||||
" 因此,当你遇到模糊测速时,请尽可能向我们提交准确的测速链接,这既能帮助你自己,也能造福所有用户。\n\n"
|
"当你遇到模糊测速时,请尽可能向我们提交准确的测速链接。\n"
|
||||||
|
"邀请您担任 Chef 或 Taster, 为用户把关您熟悉的秘制菜肴 (recipe): <https://github.com/RubyMetric/chsrc/issues/130>\n";
|
||||||
" chsrc 是一个自助和共建的项目。 维护者对于不熟悉的生态系统很难提供有价值的贡献。请将这部分功能视为你的专属实现,你可以完全掌控和维护它,就像你是唯一的负责人一样。\n";
|
|
||||||
|
|
||||||
br();br();
|
br();br();
|
||||||
|
|
||||||
@ -619,7 +619,7 @@ get_target (const char *input, TargetOp code, char *option)
|
|||||||
|| TargetOp_Reset_Source==code
|
|| TargetOp_Reset_Source==code
|
||||||
|| TargetOp_Measure_Source==code)
|
|| TargetOp_Measure_Source==code)
|
||||||
{
|
{
|
||||||
cli_notify_for_users();
|
cli_notify_lastly_for_users();
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user