merge: resolve upstream/dev conflicts in export workflow branch

This commit is contained in:
tisonhuang committed 2026-03-05 13:55:42 +08:00
commit 17a9b6102e
14 files changed
+301 -21

No files matched your search

+8
View File
@@ -357,6 +357,14 @@ contextBridge.exposeInMainWorld('electronAPI', {
downloadEmoji: (params: { url: string; encryptUrl?: string; aesKey?: string }) => ipcRenderer.invoke('sns:downloadEmoji', params)
},
// 数据收集
cloud: {
init: () => ipcRenderer.invoke('cloud:init'),
recordPage: (pageName: string) => ipcRenderer.invoke('cloud:recordPage', pageName),
getLogs: () => ipcRenderer.invoke('cloud:getLogs')
},
// HTTP API 服务
http: {
start: (port?: number) => ipcRenderer.invoke('http:start', port),