mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-24 23:06:51 +00:00
修复了导出页面一些小问题
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user