diff --git a/lib/xy.h b/lib/xy.h index 185a101..dd7516f 100644 --- a/lib/xy.h +++ b/lib/xy.h @@ -11,8 +11,7 @@ * Last Modified : <2025-07-11> * * xy: 襄阳、咸阳 - * Corss-Platform C11 utilities for CLI applications in mixed flavor: - * Ruby、Perl、Raku、HTML、Python、just、etc + * Corss-Platform C11 utilities for CLI applications in mixed flavor (mostly Ruby) * ------------------------------------------------------------*/ #ifndef XY_H diff --git a/src/chsrc-main.c b/src/chsrc-main.c index b3e9381..d7cbed0 100644 --- a/src/chsrc-main.c +++ b/src/chsrc-main.c @@ -29,13 +29,13 @@ * | Mikachu2333 * | * Created On : <2023-08-28> - * Last Modified : <2025-07-11> + * Last Modified : <2025-07-12> * * chsrc: Change Source —— 全平台通用命令行换源工具 * ------------------------------------------------------------*/ -#define Chsrc_Version "0.2.1.3" -#define Chsrc_Release_Date "2025/07/11" +#define Chsrc_Version "0.2.1.4" +#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" diff --git a/src/framework/core.c b/src/framework/core.c index c5d0961..8db3290 100644 --- a/src/framework/core.c +++ b/src/framework/core.c @@ -125,13 +125,13 @@ struct ChgType_t chgtype; /* 换源实现的类型 */ /* 此时 chsrc_run() 不再是recipe中指定要运行的一个外部命令,而是作为一个功能实现的支撑 */ - bool chsrc_run_saas; + bool chsrc_run_faas; } ProgStatus = { .leader_selected_index = -1, .chgtype = ChgType_Auto, - .chsrc_run_saas = false + .chsrc_run_faas = false }; @@ -1262,7 +1262,7 @@ not_root: static void chsrc_run (const char *cmd, int run_option) { - if (ProgStatus.chsrc_run_saas) + if (ProgStatus.chsrc_run_faas) { run_option |= RunOpt_Dont_Notify_On_Success|RunOpt_No_Last_New_Line; } @@ -1309,10 +1309,10 @@ static void chsrc_run_as_a_service (const char *cmd) { int run_option = RunOpt_Default; - ProgStatus.chsrc_run_saas = true; + ProgStatus.chsrc_run_faas = true; run_option |= RunOpt_Dont_Notify_On_Success|RunOpt_No_Last_New_Line; chsrc_run (cmd, run_option); - ProgStatus.chsrc_run_saas = false; + ProgStatus.chsrc_run_faas = false; } static void diff --git a/tool/download-pre-on-GitHub.ps1 b/tool/download-pre-on-GitHub.ps1 index c187001..7f4db95 100644 --- a/tool/download-pre-on-GitHub.ps1 +++ b/tool/download-pre-on-GitHub.ps1 @@ -8,7 +8,7 @@ # https://github.com/RubyMetric/chsrc/releases/tag/pre # --------------------------------------------------------------- -$destination = "~\Desktop\chsrc-pre-onGitHub" +$destination = "~\Desktop\chsrc-pre-on-GitHub" Write-Output "=> Mkdir $destination" mkdir -Force $destination | Out-Null