Script Refactoring

This commit is contained in:
skiffer-git 2024-04-02 16:42:53 +08:00
parent 935996670e
commit a7658e6389
2 changed files with 3 additions and 2 deletions

View File

@ -255,7 +255,8 @@ function openim::log::test_log() {
# openim::log::test_log # openim::log::test_log
function openim::log::print_blue() { function openim::log::print_blue() {
echo -e "\033[0;36m$1\033[0m" local current_time=$(date "+%Y-%m-%d %H:%M:%S %Z")
echo -e "\033[0;36m[$current_time] $1\033[0m"
} }

View File

@ -27,7 +27,7 @@ fi
# Call the main function # Call the main function
result=$(start_binaries) result=$(start_binaries)
openim::log::status "$result" openim::log::print_blue "$result"
$OPENIM_SCRIPTS/check.sh $OPENIM_SCRIPTS/check.sh