Skip to content

Commit

Permalink
Fix automation script path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzm0809 committed Dec 9, 2024
1 parent b9ee593 commit 38929f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions script/bin/auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion script/bin/init_tools_main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 38929f3

Please sign in to comment.