mirror of
https://github.com/HiMeditator/auto-caption.git
synced 2026-02-15 12:24:48 +08:00
feat(control): 重构项目,增加字幕引擎配置
This commit is contained in:
@@ -3,7 +3,7 @@ import { electronApp, optimizer } from '@electron-toolkit/utils'
|
||||
import { controlWindow } from './control'
|
||||
import { captionWindow } from './caption'
|
||||
|
||||
import { PythonProcess } from './pythonProcess'
|
||||
import { PythonProcess } from './utils/pythonProcess'
|
||||
const pySubProcess = new PythonProcess()
|
||||
|
||||
app.whenReady().then(() => {
|
||||
@@ -18,7 +18,7 @@ app.whenReady().then(() => {
|
||||
|
||||
controlWindow.createWindow()
|
||||
|
||||
pySubProcess.start()
|
||||
// pySubProcess.start()
|
||||
|
||||
app.on('activate', function () {
|
||||
if (BrowserWindow.getAllWindows().length === 0){
|
||||
|
||||
Reference in New Issue
Block a user