|
31 | 31 | |
32 | 32 | * | |
33 | 33 | * Created On : <2023-08-28> |
34 | | - * Last Modified : <2025-07-14> |
| 34 | + * Last Modified : <2025-07-15> |
35 | 35 | * |
36 | 36 | * chsrc: Change Source —— 全平台通用命令行换源工具 |
37 | 37 | * ------------------------------------------------------------*/ |
38 | 38 |
|
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" |
41 | 41 | #define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc" |
42 | 42 | #define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc" |
43 | 43 |
|
@@ -170,7 +170,9 @@ Chsrc_Usage[] = { |
170 | 170 | "-no-color 无颜色输出\n", |
171 | 171 |
|
172 | 172 | "镜像站状态: <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>" |
174 | 176 | }; |
175 | 177 |
|
176 | 178 | static const char * |
@@ -203,7 +205,9 @@ Chsrc_Usage_English[] = { |
203 | 205 | "-no-color Output without color\n", |
204 | 206 |
|
205 | 207 | "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>" |
207 | 211 | }; |
208 | 212 |
|
209 | 213 |
|
@@ -260,7 +264,7 @@ cli_print_supported_targets () |
260 | 264 | { |
261 | 265 | { |
262 | 266 | char *msg = ENGLISH ? "Support following targets (same line indicates these targets are compatible)" |
263 | | - : "支持对以下目标换源 (同一行表示这几个命令兼容)" ; |
| 267 | + : "支持对以下目标换源 (同一行表示这几个命令兼容)" ; |
264 | 268 | say (bdblue(msg)); br(); |
265 | 269 | } |
266 | 270 |
|
|
290 | 294 | cli_print_supported_pl () |
291 | 295 | { |
292 | 296 | char *msg = ENGLISH ? "Support following Programming Languages (same line indicates these targets are compatible)\n" |
293 | | - : "支持对以下编程语言生态换源 (同一行表示这几个目标兼容)\n"; |
| 297 | + : "支持对以下编程语言生态换源 (同一行表示这几个目标兼容)\n"; |
294 | 298 | say (bdgreen(msg)); |
295 | 299 |
|
296 | 300 | cli_print_supported_targets_ (pl_packagers, xy_arylen(pl_packagers)); |
|
300 | 304 | cli_print_supported_os () |
301 | 305 | { |
302 | 306 | char *msg = ENGLISH ? "Support following Operating Systems (same line indicates these targets are compatible)\n" |
303 | | - : "支持对以下操作系统换源 (同一行表示这几个目标兼容)\n"; |
| 307 | + : "支持对以下操作系统换源 (同一行表示这几个目标兼容)\n"; |
304 | 308 | say (bdgreen(msg)); |
305 | 309 | cli_print_supported_targets_ (os_systems, xy_arylen(os_systems)); |
306 | 310 | } |
|
309 | 313 | cli_print_supported_wr () |
310 | 314 | { |
311 | 315 | char *msg = ENGLISH ? "Support following Softwares (same line indicates these targets are compatible)\n" |
312 | | - : "支持对以下软件换源 (同一行表示这几个目标兼容)\n"; |
| 316 | + : "支持对以下软件换源 (同一行表示这几个目标兼容)\n"; |
313 | 317 | say (bdgreen(msg)); |
314 | 318 | cli_print_supported_targets_ (wr_softwares, xy_arylen(wr_softwares)); |
315 | 319 | } |
@@ -513,19 +517,15 @@ iterate_targets_ (const char ***array, size_t size, const char *input, const cha |
513 | 517 | * 我们总是最后告诉用户一些维护信息 |
514 | 518 | */ |
515 | 519 | void |
516 | | -cli_notify_for_users () |
| 520 | +cli_notify_lastly_for_users () |
517 | 521 | { |
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" |
525 | 523 |
|
526 | | - " 因此,当你遇到模糊测速时,请尽可能向我们提交准确的测速链接,这既能帮助你自己,也能造福所有用户。\n\n" |
| 524 | + " * 精准测速: 能真实反映你未来使用该资源时的速度,因为它直接测量你关注的那个资源。\n" |
| 525 | + " * 模糊测速: 仅代表该镜像站提供服务的一个可能速度。因而可能会出现测速数值较高,但实际使用体验不佳的现象。\n\n" |
527 | 526 |
|
528 | | - " chsrc 是一个自助和共建的项目。 维护者对于不熟悉的生态系统很难提供有价值的贡献。请将这部分功能视为你的专属实现,你可以完全掌控和维护它,就像你是唯一的负责人一样。\n"; |
| 527 | + "当你遇到模糊测速时,请尽可能向我们提交准确的测速链接。\n" |
| 528 | + "邀请您担任 Chef 或 Taster, 为用户把关您熟悉的秘制菜肴 (recipe): <https://github.com/RubyMetric/chsrc/issues/130>\n"; |
529 | 529 |
|
530 | 530 | br();br(); |
531 | 531 |
|
@@ -619,7 +619,7 @@ get_target (const char *input, TargetOp code, char *option) |
619 | 619 | || TargetOp_Reset_Source==code |
620 | 620 | || TargetOp_Measure_Source==code) |
621 | 621 | { |
622 | | - cli_notify_for_users(); |
| 622 | + cli_notify_lastly_for_users(); |
623 | 623 | } |
624 | 624 |
|
625 | 625 | return true; |
|
0 commit comments