release v0.5.0

- 更新了发行说明和用户手册
- 优化了界面显示和功能
- 过滤 Gummy 字幕引擎输出的不完整字幕
This commit is contained in:
himeditator
2025-07-15 18:48:16 +08:00
parent 760c01d79e
commit 25b6ad5ed2
25 changed files with 128 additions and 85 deletions

View File

@@ -108,7 +108,10 @@ export class CaptionEngine {
if (line.trim()) {
try {
const caption = JSON.parse(line);
allConfig.updateCaptionLog(caption);
if(caption.index === undefined) {
console.log('[INFO] Engine Bad Output:', caption);
}
else allConfig.updateCaptionLog(caption);
} catch (e) {
controlWindow.sendErrorMessage(i18n('engine.output.parse.error') + e)
console.error('[ERROR] Error parsing JSON:', e);