diff --git a/include/chsrc.h b/include/chsrc.h index 77241fa4..9e56ad96 100644 --- a/include/chsrc.h +++ b/include/chsrc.h @@ -7,7 +7,7 @@ * Contributors : Peng Gao * | * Created on : <2023-08-29> - * Last modified : <2024-07-03> + * Last modified : <2024-07-08> * * chsrc 头文件 * ------------------------------------------------------------*/ @@ -724,7 +724,7 @@ chsrc_backup (const char *path) cmd = xy_strjoin (5, "cp ", path, " ", path, ".bak --backup='t'"); } - chsrc_run (cmd, RunOpt_No_Last_New_Line); + chsrc_run (cmd, RunOpt_No_Last_New_Line|RunOpt_No_Note_On_Sccess); chsrc_note_remarkably (xy_strjoin (3, "备份文件名为 ", path, ".bak")); } diff --git a/src/chsrc.c b/src/chsrc.c index 2f34ebbe..7606662a 100644 --- a/src/chsrc.c +++ b/src/chsrc.c @@ -14,7 +14,7 @@ * chsrc: Change Source —— 全平台通用命令行换源工具 * ------------------------------------------------------------*/ -#define Chsrc_Version "v0.1.7.rc2-2024/07/03" +#define Chsrc_Version "v0.1.7.rc3-2024/07/08" #define Chsrc_Maintain_URL "https://gitee.com/RubyMetric/chsrc" #include "chsrc.h"