From f8d3900eaa4af9aeffa5ea0226caa26890f5cf4f Mon Sep 17 00:00:00 2001 From: AskaEth Date: Sun, 28 Jun 2026 16:49:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20ethend.bat=20=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=86=99=E6=97=B6=E9=97=B4=E6=88=B3=E5=88=B0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ethend.bat | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ethend.bat b/ethend.bat index 0f1835a..81b66e7 100644 --- a/ethend.bat +++ b/ethend.bat @@ -83,10 +83,14 @@ exit /b 1 :: ========================================== :start +:: Ensure log directory +if not exist "%LOG_DIR%" mkdir "%LOG_DIR%" + echo. echo ========================================== echo Cyrene ethend echo ========================================== +echo %date% %time% ethend.bat started >> "%LOG_FILE%" call :check_node for /f "tokens=*" %%i in ('!NODE_CMD! --version') do echo Node.js: %%i echo Port: %ETHEND_PORT% @@ -144,9 +148,6 @@ if not exist "node_modules\" ( call npm install --silent ) -:: Ensure log directory -if not exist "%LOG_DIR%" mkdir "%LOG_DIR%" - echo. echo [INFO] Starting ethend on port %ETHEND_PORT% echo Web UI: http://localhost:%ETHEND_PORT%