黄中银 hai 2 semanas
pai
achega
5436d7c9e8
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      release-win.bat

+ 6 - 6
release-win.bat

@@ -17,17 +17,17 @@ if /i "%~1"=="-h" goto :show_help
 :: 检查 Node.js
 where node >nul 2>&1
 if errorlevel 1 (
-    echo   [91mx[0m 未找到 Node.js,请先安装 Node.js
+    echo   [x] 未找到 Node.js,请先安装 Node.js
     pause
     exit /b 1
 )
 
 :: 检查 node_modules
 if not exist "node_modules" (
-    echo   [93m![0m 未找到 node_modules,正在安装依赖...
+    echo   [!] 未找到 node_modules,正在安装依赖...
     call npm install
     if errorlevel 1 (
-        echo   [91mx[0m 安装依赖失败
+        echo   [x] 安装依赖失败
         pause
         exit /b 1
     )
@@ -51,14 +51,14 @@ goto :parse_args
 
 :run_release
 echo.
-echo   [96m^> 调用 Node.js 发布脚本...[0m
-echo   [94mi[0m 执行: node scripts/release.cjs %NODE_ARGS%
+echo   ^> 调用 Node.js 发布脚本...
+echo   执行: node scripts/release.cjs %NODE_ARGS%
 echo.
 
 call node scripts/release.cjs %NODE_ARGS%
 if errorlevel 1 (
     echo.
-    echo   [91mx[0m 发布失败!
+    echo   [x] 发布失败!
     echo.
     pause
     exit /b 1