impress_asr_input/scripts/build-win.bat
impressionyang fc3ea6fa4e docs: 完善 Windows 构建指南和脚本
新增:
- scripts/build-win.bat: Windows 构建脚本
- scripts/build-win.sh: Linux/macOS 构建脚本

更新:
- BUILD_WINDOWS.md: 完善构建说明
  - 添加脚本使用说明
  - 简化手动打包步骤
  - 整理常见问题解答

注意:
- Windows ZIP 包较大 (132MB),建议在各平台自行构建
- 推荐使用提供的脚本进行构建

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-20 16:29:15 +08:00

25 lines
588 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
REM Impress ASR Input - Windows x64 打包脚本
REM 使用方式:在 Windows 系统上双击运行或在命令行执行
echo 🔧 开始构建 Windows x64 版本...
REM 检查 Node.js
node -v >nul 2>&1 || (echo 请先安装 Node.js 20+ && pause && exit /b 1)
REM 1. 安装依赖
echo 📦 安装依赖...
call npm install
REM 2. 编译 TypeScript
echo 📝 编译 TypeScript...
call npm run build
REM 3. 构建 ZIP 包
echo 📦 构建 ZIP 包...
call npm run build:win:zip
echo ✅ 构建完成!
echo 输出文件release\Impress ASR Input-0.1.0-win-x64.zip
pause