feat: 新增任务操作功能
This commit is contained in:
@@ -4,6 +4,7 @@ import { setupMainWindow } from './wins';
|
||||
import started from 'electron-squirrel-startup'
|
||||
import configManager from '@main/service/config-service'
|
||||
import logManager from '@main/service/logger'
|
||||
import { runTaskOperationService } from '@main/process/runTaskOperationService'
|
||||
|
||||
// Handle creating/removing shortcuts on Windows when installing/uninstalling.
|
||||
if (started) {
|
||||
@@ -20,6 +21,11 @@ process.on('unhandledRejection', (reason, promise) => {
|
||||
|
||||
app.whenReady().then(() => {
|
||||
setupMainWindow();
|
||||
|
||||
// 开启任务操作子进程
|
||||
runTaskOperationService()
|
||||
|
||||
// 开启subagent子进程
|
||||
});
|
||||
|
||||
// Quit when all windows are closed, except on macOS. There, it's common
|
||||
|
||||
Reference in New Issue
Block a user