Skip to content

Commit d1ec1f0

Browse files
committed
Output script content faintly
1 parent 77278e1 commit d1ec1f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/framework/core.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* | Yangmoooo <[email protected]>
1010
* |
1111
* Created On : <2023-08-29>
12-
* Last Modified : <2025-07-14>
12+
* Last Modified : <2025-07-21>
1313
*
1414
* chsrc framework
1515
* ------------------------------------------------------------*/
@@ -1388,7 +1388,7 @@ chsrc_run_as_bash_file (const char *script_content)
13881388
// chmod (tmpfile, 0700);
13891389
char *msg = CHINESE ? "即将执行 Bash 脚本内容:" : "The Bash script content will be executed:";
13901390
chsrc_note2 (msg);
1391-
println (script_content);
1391+
println (faint(script_content));
13921392
char *cmd = xy_2strjoin ("bash ", tmpfile);
13931393
chsrc_run (cmd, RunOpt_Dont_Abort_On_Failure);
13941394
remove (tmpfile);
@@ -1408,7 +1408,7 @@ chsrc_run_as_sh_file (const char *script_content)
14081408
// chmod (tmpfile, 0700);
14091409
char *msg = CHINESE ? "即将执行 sh 脚本内容:" : "The sh script content will be executed:";
14101410
chsrc_note2 (msg);
1411-
println (script_content);
1411+
println (faint(script_content));
14121412
char *cmd = xy_2strjoin ("sh ", tmpfile);
14131413
chsrc_run (cmd, RunOpt_Dont_Abort_On_Failure);
14141414
remove (tmpfile);
@@ -1427,7 +1427,7 @@ chsrc_run_as_pwsh_file (const char *script_content)
14271427
fclose (f);
14281428
char *msg = CHINESE ? "即将执行 PowerShell 脚本内容:" : "The PowerShell script content will be executed:";
14291429
chsrc_note2 (msg);
1430-
println (script_content);
1430+
println (faint(script_content));
14311431
char *cmd = xy_2strjoin ("pwsh ", tmpfile);
14321432
chsrc_run (cmd, RunOpt_Dont_Abort_On_Failure);
14331433
remove (tmpfile);

0 commit comments

Comments
 (0)