feat(desktop): Add Export Logs (#26262)

This commit is contained in:
Luke Parker
2026-05-21 14:55:23 +10:00
committed by GitHub
parent c64ac905e1
commit bea3ca5b05
18 changed files with 508 additions and 21 deletions
+2
View File
@@ -67,6 +67,8 @@ const api: ElectronAPI = {
checkUpdate: () => ipcRenderer.invoke("check-update"),
installUpdate: () => ipcRenderer.invoke("install-update"),
setBackgroundColor: (color: string) => ipcRenderer.invoke("set-background-color", color),
exportDebugLogs: () => ipcRenderer.invoke("export-debug-logs"),
recordFatalRendererError: (error) => ipcRenderer.invoke("record-fatal-renderer-error", error),
}
contextBridge.exposeInMainWorld("api", api)