Skip to content

Commit 0df9d54

Browse files
committed
Prerelease v0.2.1.4
1 parent a70b251 commit 0df9d54

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

lib/xy.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
* Last Modified : <2025-07-11>
1212
*
1313
* xy: 襄阳、咸阳
14-
* Corss-Platform C11 utilities for CLI applications in mixed flavor:
15-
* Ruby、Perl、Raku、HTML、Python、just、etc
14+
* Corss-Platform C11 utilities for CLI applications in mixed flavor (mostly Ruby)
1615
* ------------------------------------------------------------*/
1716

1817
#ifndef XY_H

src/chsrc-main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
* | Mikachu2333 <[email protected]>
3030
* |
3131
* Created On : <2023-08-28>
32-
* Last Modified : <2025-07-11>
32+
* Last Modified : <2025-07-12>
3333
*
3434
* chsrc: Change Source —— 全平台通用命令行换源工具
3535
* ------------------------------------------------------------*/
3636

37-
#define Chsrc_Version "0.2.1.3"
38-
#define Chsrc_Release_Date "2025/07/11"
37+
#define Chsrc_Version "0.2.1.4"
38+
#define Chsrc_Release_Date "2025/07/12"
3939
#define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc"
4040
#define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc"
4141

src/framework/core.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@ struct
125125
ChgType_t chgtype; /* 换源实现的类型 */
126126

127127
/* 此时 chsrc_run() 不再是recipe中指定要运行的一个外部命令,而是作为一个功能实现的支撑 */
128-
bool chsrc_run_saas;
128+
bool chsrc_run_faas;
129129
}
130130
ProgStatus =
131131
{
132132
.leader_selected_index = -1,
133133
.chgtype = ChgType_Auto,
134-
.chsrc_run_saas = false
134+
.chsrc_run_faas = false
135135
};
136136

137137

@@ -1262,7 +1262,7 @@ chsrc_ensure_root ()
12621262
static void
12631263
chsrc_run (const char *cmd, int run_option)
12641264
{
1265-
if (ProgStatus.chsrc_run_saas)
1265+
if (ProgStatus.chsrc_run_faas)
12661266
{
12671267
run_option |= RunOpt_Dont_Notify_On_Success|RunOpt_No_Last_New_Line;
12681268
}
@@ -1309,10 +1309,10 @@ static void
13091309
chsrc_run_as_a_service (const char *cmd)
13101310
{
13111311
int run_option = RunOpt_Default;
1312-
ProgStatus.chsrc_run_saas = true;
1312+
ProgStatus.chsrc_run_faas = true;
13131313
run_option |= RunOpt_Dont_Notify_On_Success|RunOpt_No_Last_New_Line;
13141314
chsrc_run (cmd, run_option);
1315-
ProgStatus.chsrc_run_saas = false;
1315+
ProgStatus.chsrc_run_faas = false;
13161316
}
13171317

13181318
static void

tool/download-pre-on-GitHub.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# https://github.com/RubyMetric/chsrc/releases/tag/pre
99
# ---------------------------------------------------------------
1010

11-
$destination = "~\Desktop\chsrc-pre-onGitHub"
11+
$destination = "~\Desktop\chsrc-pre-on-GitHub"
1212

1313
Write-Output "=> Mkdir $destination"
1414
mkdir -Force $destination | Out-Null

0 commit comments

Comments
 (0)