mirror of
https://github.com/HiMeditator/auto-caption.git
synced 2026-02-14 03:24:44 +08:00
feat: 新增配置保存和读取、新增文档
- 添加配置数据文件保存和载入 - 添加字幕样式恢复默认的选项 - 添加用户说明文档 - 添加字幕引擎说明文档
This commit is contained in:
@@ -96,6 +96,8 @@ export class CaptionEngine {
|
||||
this.process.on('close', (code: any) => {
|
||||
console.log(`[INFO] Subprocess exited with code ${code}`);
|
||||
this.process = undefined;
|
||||
controls.engineEnabled = false
|
||||
sendControls(window)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -111,9 +113,10 @@ export class CaptionEngine {
|
||||
} else {
|
||||
this.process.kill('SIGKILL');
|
||||
}
|
||||
this.process = undefined;
|
||||
controls.engineEnabled = false;
|
||||
console.log('[INFO] Caption engine process stopped');
|
||||
}
|
||||
this.process = undefined;
|
||||
controls.engineEnabled = false;
|
||||
console.log('[INFO] Caption engine process stopped');
|
||||
if(controlWindow.window) sendControls(controlWindow.window);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user