mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-14 02:47:31 +08:00
Bold the prompt of checking cmd
This commit is contained in:
parent
ca7b4942ad
commit
76e7f76970
@ -54,13 +54,13 @@ query_program_exist (char *check_cmd, char *prog_name)
|
|||||||
if (0 != ret)
|
if (0 != ret)
|
||||||
{
|
{
|
||||||
// xy_warn (xy_strjoin(4, "× 命令 ", progname, " 不存在,", buf));
|
// xy_warn (xy_strjoin(4, "× 命令 ", progname, " 不存在,", buf));
|
||||||
xy_log_remarkably (App_Name, xy_str_to_red ("检查"),
|
xy_log_remarkably (App_Name, xy_str_to_bold (xy_str_to_red ("检查")),
|
||||||
xy_strjoin (4, xy_str_to_red ("x "), "命令 ", xy_str_to_red (prog_name), " 不存在"));
|
xy_strjoin (4, xy_str_to_red ("x "), "命令 ", xy_str_to_red (prog_name), " 不存在"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
xy_log_remarkably (App_Name, xy_str_to_green ("检查"),
|
xy_log_remarkably (App_Name, xy_str_to_bold (xy_str_to_green ("检查")),
|
||||||
xy_strjoin (4, xy_str_to_green ("√ "), "命令 ", xy_str_to_green (prog_name), " 存在"));
|
xy_strjoin (4, xy_str_to_green ("√ "), "命令 ", xy_str_to_green (prog_name), " 存在"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user