impress_asr_input_rust/WINDOWS_DISTRIBUTION.md
impressionyang ceb2df18c4
Some checks are pending
Build Windows GUI / build-windows (push) Waiting to run
Build Windows GUI / release (push) Blocked by required conditions
初始提交:Windows 跨平台语音识别应用
功能:
- Tauri v2 GUI 应用
- 系统托盘支持
- 日志输出到文件
- 带时间戳的版本号
- 前端资源嵌入

修复:
- 前端路径使用相对路径
- 移除 devUrl 配置
- 窗口置顶设置
2026-05-21 17:58:18 +08:00

60 lines
1.6 KiB
Markdown
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.

# Windows 分发说明
## 文件清单
### GUI 版本
- `impress_asr_gui.exe` - 主程序
- `impress_asr_gui.exe.manifest` - 必需!指定 Windows Common Controls V6
### CLI 版本
- `impress_asr.exe` - 命令行工具
- `impress_asr.exe.manifest` - 必需!指定 Windows Common Controls V6
## 安装说明
1.`.exe` 和对应的 `.manifest` 文件放在同一目录
2. 直接运行 `.exe` 文件
**注意manifest 文件必须与 exe 文件同名且在同一目录,例如:**
```
程序目录/
├── impress_asr_gui.exe
├── impress_asr_gui.exe.manifest
├── impress_asr.exe
└── impress_asr.exe.manifest
```
## 系统要求
- Windows 7 或更高版本(推荐 Windows 10/11
- .NET Framework通常系统已预装
- WebView2 RuntimeWindows 11 已预装Windows 10 可能需要单独安装)
## 常见问题
### 错误:无法定位程序输入点 TaskDialogIndirect 于动态链接库
**原因**:缺少 manifest 文件或 manifest 未正确加载
**解决方案**
1. 确保 `.manifest` 文件与 `.exe` 在同一目录
2. 确保文件名完全匹配(如 `impress_asr_gui.exe.manifest`
3. 重启程序
### 错误:找不到 MSVCP140.dll 或 VCRUNTIME140.dll
**原因**:缺少 Visual C++ 运行时
**解决方案**
下载并安装 Microsoft Visual C++ Redistributable
https://aka.ms/vs/17/release/vc_redist.x64.exe
## 模型文件
将 ONNX 模型放在 `models/` 目录下:
```
程序目录/
├── models/
│ └── sensevoice-small.onnx
```
模型下载https://huggingface.co/FunAudioLLM/SenseVoiceSmall