fix: 添加构建说明、修复 vosk 提示逻辑

- 优化 EngineStatus 组件中的引擎启动逻辑,增加对 vosk 引擎的判断
- 在 README.md、README_en.md 和 README_ja.md 中添加 macOS 截图
This commit is contained in:
himeditator
2025-07-11 02:31:10 +08:00
parent 0b8b823b2e
commit 604f8becc9
7 changed files with 34 additions and 1 deletions

View File

@@ -107,7 +107,7 @@ function openCaptionWindow() {
function startEngine() {
console.log(`@@${engineControl.modelPath}##`)
if(engineControl.modelPath.trim() === '') {
if(engineControl.engine === 'vosk' && engineControl.modelPath.trim() === '') {
engineControl.emptyModelPathErr()
return
}