This commit is contained in:
cc
2026-04-03 19:35:11 +08:00
9 changed files with 974 additions and 31 deletions

View File

@@ -30,7 +30,7 @@ import { cloudControlService } from './services/cloudControlService'
import { destroyNotificationWindow, registerNotificationHandlers, showNotification } from './windows/notificationWindow'
import { httpService } from './services/httpService'
import { messagePushService } from './services/messagePushService'
import { bizService } from './services/bizService'
// 配置自动更新
autoUpdater.autoDownload = false
@@ -1206,6 +1206,7 @@ const removeMatchedEntriesInDir = async (
// 注册 IPC 处理器
function registerIpcHandlers() {
registerNotificationHandlers()
bizService.registerHandlers()
// 配置相关
ipcMain.handle('config:get', async (_, key: string) => {
return configService?.get(key as any)