feat(engine): 优化 Vosk 字幕引擎支持

- 实现文件夹选择功能,用于选择 Vosk 模型路径
- 在 EngineControl 组件中添加模型路径选择按钮和相关提示
- 在 EngineStatus 组件中增加对空模型路径的检查和错误提示
This commit is contained in:
himeditator
2025-07-10 11:22:39 +08:00
parent 1c29fd5adc
commit d354a6fefa
11 changed files with 109 additions and 7 deletions

View File

@@ -44,6 +44,19 @@
- 发送:无数据
- 接收:`string`
### `control.folder.select`
**介绍:** 打开文件夹选择器,并将用户选择的文件夹路径返回给前端
**发起方:** 前端控制窗口
**接收方:** 后端控制窗口实例
**数据类型:**
- 发送:无数据
- 接收:`string`
## 前端 ==> 后端
### `control.uiLanguage.change`