Skip to content

Commit 35f85e0

Browse files
committed
Prerelease 0.2.2-alpha1
1 parent 887eec5 commit 35f85e0

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/chsrc-main.c

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
* | Rui Yang <[email protected]>
3232
* |
3333
* Created On : <2023-08-28>
34-
* Last Modified : <2025-07-14>
34+
* Last Modified : <2025-07-15>
3535
*
3636
* chsrc: Change Source —— 全平台通用命令行换源工具
3737
* ------------------------------------------------------------*/
3838

39-
#define Chsrc_Version "0.2.1.5-dev1"
40-
#define Chsrc_Release_Date "2025/07/12"
39+
#define Chsrc_Version "0.2.2-alpha1"
40+
#define Chsrc_Release_Date "2025/07/15"
4141
#define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc"
4242
#define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc"
4343

@@ -170,7 +170,9 @@ Chsrc_Usage[] = {
170170
"-no-color 无颜色输出\n",
171171

172172
"镜像站状态: <https://github.com/RubyMetric/chsrc/wiki>",
173-
"维护: <" Chsrc_Maintain_URL ">"
173+
"维护: <" Chsrc_Maintain_URL ">\n",
174+
175+
"邀请您担任 Chef 或 Taster, 为用户把关您熟悉的秘制菜肴 (recipe): <https://github.com/RubyMetric/chsrc/issues/130>"
174176
};
175177

176178
static const char *
@@ -203,7 +205,9 @@ Chsrc_Usage_English[] = {
203205
"-no-color Output without color\n",
204206

205207
"Mirror status: <https://github.com/RubyMetric/chsrc/wiki>",
206-
"Maintain: <" Chsrc_Maintain_URL ">"
208+
"Maintain: <" Chsrc_Maintain_URL ">\n",
209+
210+
"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>"
207211
};
208212

209213

@@ -260,7 +264,7 @@ cli_print_supported_targets ()
260264
{
261265
{
262266
char *msg = ENGLISH ? "Support following targets (same line indicates these targets are compatible)"
263-
: "支持对以下目标换源 (同一行表示这几个命令兼容)" ;
267+
: "支持对以下目标换源 (同一行表示这几个命令兼容)" ;
264268
say (bdblue(msg)); br();
265269
}
266270

@@ -290,7 +294,7 @@ void
290294
cli_print_supported_pl ()
291295
{
292296
char *msg = ENGLISH ? "Support following Programming Languages (same line indicates these targets are compatible)\n"
293-
: "支持对以下编程语言生态换源 (同一行表示这几个目标兼容)\n";
297+
: "支持对以下编程语言生态换源 (同一行表示这几个目标兼容)\n";
294298
say (bdgreen(msg));
295299

296300
cli_print_supported_targets_ (pl_packagers, xy_arylen(pl_packagers));
@@ -300,7 +304,7 @@ void
300304
cli_print_supported_os ()
301305
{
302306
char *msg = ENGLISH ? "Support following Operating Systems (same line indicates these targets are compatible)\n"
303-
: "支持对以下操作系统换源 (同一行表示这几个目标兼容)\n";
307+
: "支持对以下操作系统换源 (同一行表示这几个目标兼容)\n";
304308
say (bdgreen(msg));
305309
cli_print_supported_targets_ (os_systems, xy_arylen(os_systems));
306310
}
@@ -309,7 +313,7 @@ void
309313
cli_print_supported_wr ()
310314
{
311315
char *msg = ENGLISH ? "Support following Softwares (same line indicates these targets are compatible)\n"
312-
: "支持对以下软件换源 (同一行表示这几个目标兼容)\n";
316+
: "支持对以下软件换源 (同一行表示这几个目标兼容)\n";
313317
say (bdgreen(msg));
314318
cli_print_supported_targets_ (wr_softwares, xy_arylen(wr_softwares));
315319
}
@@ -513,19 +517,15 @@ iterate_targets_ (const char ***array, size_t size, const char *input, const cha
513517
* 我们总是最后告诉用户一些维护信息
514518
*/
515519
void
516-
cli_notify_for_users ()
520+
cli_notify_lastly_for_users ()
517521
{
518-
char *msg = "2025-07-11:\n\n"
519-
520-
" 有时,同一镜像站对不同资源的实际服务速度差异,可能比不同镜像站之间的差异还要大。\n\n"
521-
522-
" * 精准测速: 能真实反映你未来使用该资源时的速度,因为它直接测量你关注的那个资源。\n\n"
523-
524-
" * 模糊测速: 仅代表该镜像站提供服务的一个可能速度。因而可能会出现测速数值较高,但实际使用体验不佳的现象。\n\n"
522+
char *msg = "2025-07-15:\n\n"
525523

526-
" 因此,当你遇到模糊测速时,请尽可能向我们提交准确的测速链接,这既能帮助你自己,也能造福所有用户。\n\n"
524+
" * 精准测速: 能真实反映你未来使用该资源时的速度,因为它直接测量你关注的那个资源。\n"
525+
" * 模糊测速: 仅代表该镜像站提供服务的一个可能速度。因而可能会出现测速数值较高,但实际使用体验不佳的现象。\n\n"
527526

528-
" chsrc 是一个自助和共建的项目。 维护者对于不熟悉的生态系统很难提供有价值的贡献。请将这部分功能视为你的专属实现,你可以完全掌控和维护它,就像你是唯一的负责人一样。\n";
527+
"当你遇到模糊测速时,请尽可能向我们提交准确的测速链接。\n"
528+
"邀请您担任 Chef 或 Taster, 为用户把关您熟悉的秘制菜肴 (recipe): <https://github.com/RubyMetric/chsrc/issues/130>\n";
529529

530530
br();br();
531531

@@ -619,7 +619,7 @@ get_target (const char *input, TargetOp code, char *option)
619619
|| TargetOp_Reset_Source==code
620620
|| TargetOp_Measure_Source==code)
621621
{
622-
cli_notify_for_users();
622+
cli_notify_lastly_for_users();
623623
}
624624

625625
return true;

0 commit comments

Comments
 (0)