From 38929f3c8c8d0979eab894e568cdd4cb1b3391c1 Mon Sep 17 00:00:00 2001 From: Zzm0809 <934230207@qq.com> Date: Mon, 9 Dec 2024 16:44:06 +0800 Subject: [PATCH] Fix automation script path issue --- script/bin/auto.sh | 4 ++-- script/bin/init_tools_main.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script/bin/auto.sh b/script/bin/auto.sh index 654abf08a3..0397a85c3d 100644 --- a/script/bin/auto.sh +++ b/script/bin/auto.sh @@ -149,10 +149,10 @@ function wait_start_process() { local filled_length=$((progress * bar_length / 100)) local empty_length=$((bar_length - filled_length)) local bar=$(printf '>%.0s' $(seq 1 $filled_length))$(printf ' %.0s' $(seq 1 $empty_length)) - echo -ne "\r[${bar}] ${progress}% (耗时: ${formatted_time})" + echo -ne "\r[${bar}] ${progress}% (time consuming: ${formatted_time})" sleep $delay done - echo -ne "\r[==================================================] 100% (耗时: ${formatted_time})\n" + echo -ne "\r[==================================================] 100% (time consuming: ${formatted_time})\n" echo -e "${RED}Application start failed. Please check the log for details.${RESET}" return 1 } diff --git a/script/bin/init_tools_main.sh b/script/bin/init_tools_main.sh index c15177d846..d8757652f6 100644 --- a/script/bin/init_tools_main.sh +++ b/script/bin/init_tools_main.sh @@ -363,7 +363,7 @@ while true; do no | n ) echo_warning_msg echo - echo -e "${GREEN}The Dinky service startup script has been skipped, 请先执行上述命令,然后手动启动服务 -> ${APP_HOME}/bin/auto.sh restart | start。${RESET}" + echo -e "${GREEN}The Dinky service startup script has been skipped, Please execute the above command first, and then start the service manually -> ${APP_HOME}/bin/auto.sh restart | start。${RESET}" break ;; exit | e )