新增数据库相关语句脚本
This commit is contained in:
21
codes/games/sql/export/export_summary.bat
Normal file
21
codes/games/sql/export/export_summary.bat
Normal file
@@ -0,0 +1,21 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
cd /d "%~dp0"
|
||||
|
||||
where node >nul 2>&1
|
||||
if %errorlevel% neq 0 (
|
||||
echo [错误] 未找到 Node.js,请先安装 Node.js
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if not exist "node_modules" (
|
||||
echo [初始化] 首次运行,正在安装依赖...
|
||||
npm install
|
||||
echo.
|
||||
)
|
||||
|
||||
node export_summary.js %*
|
||||
|
||||
echo.
|
||||
pause
|
||||
Reference in New Issue
Block a user