修复了导出页面一些小问题

This commit is contained in:
cc
2026-03-04 22:46:31 +08:00
parent d3adae42fe
commit 53398707aa
15 changed files with 321 additions and 23 deletions

View File

@@ -21,6 +21,7 @@ import { videoService } from './services/videoService'
import { snsService, isVideoUrl } from './services/snsService'
import { contactExportService } from './services/contactExportService'
import { windowsHelloService } from './services/windowsHelloService'
import { cloudControlService } from './services/cloudControlService'
import { registerNotificationHandlers, showNotification } from './windows/notificationWindow'
import { httpService } from './services/httpService'
@@ -665,6 +666,19 @@ function registerIpcHandlers() {
}
})
// 数据收集服务
ipcMain.handle('cloud:init', async () => {
await cloudControlService.init()
})
ipcMain.handle('cloud:recordPage', (_, pageName: string) => {
cloudControlService.recordPage(pageName)
})
ipcMain.handle('cloud:getLogs', async () => {
return cloudControlService.getLogs()
})
ipcMain.handle('app:checkForUpdates', async () => {
if (!AUTO_UPDATE_ENABLED) {
return { hasUpdate: false }