first add

This commit is contained in:
Your Name
2026-07-28 21:25:30 +08:00
commit edf4d743cb
482 changed files with 19191 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
@echo off
echo ========================================
echo SSH Client Pro - Windows 打包脚本
echo ========================================
echo.
echo [1/3] 正在安装依赖...
call npm install
if %errorlevel% neq 0 (
echo 依赖安装失败!
pause
exit /b 1
)
echo 依赖安装完成!
echo.
echo [2/3] 正在构建React应用...
call npm run build
if %errorlevel% neq 0 (
echo React构建失败!
pause
exit /b 1
)
echo React构建完成!
echo.
echo [3/3] 正在打包Electron应用...
call npm run build:electron
if %errorlevel% neq 0 (
echo Electron打包失败!
pause
exit /b 1
)
echo.
echo ========================================
echo 打包完成!
echo 输出目录: dist/
echo ========================================
pause