chore: ethend.bat 启动写时间戳到日志
This commit is contained in:
+4
-3
@@ -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%
|
||||
|
||||
Reference in New Issue
Block a user