feat: add desktop bug report collection
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import type {
|
||||
CreatePublishJobResponse,
|
||||
DesktopAccountInfo,
|
||||
DesktopBugReportSubmitRequest,
|
||||
DesktopBugReportSubmitResponse,
|
||||
DesktopClientReleaseCheckResponse,
|
||||
DesktopClientRotateResponse,
|
||||
DesktopClientUpdateProgressEvent,
|
||||
@@ -145,6 +147,11 @@ const desktopBridge = {
|
||||
ipcRenderer.invoke('desktop:runtime-account-snapshot', accountId) as Promise<
|
||||
DesktopRuntimeSnapshot['accounts'][number] | null
|
||||
>,
|
||||
submitBugReport: (payload: DesktopBugReportSubmitRequest) =>
|
||||
ipcRenderer.invoke(
|
||||
'desktop:submit-bug-report',
|
||||
payload,
|
||||
) as Promise<DesktopBugReportSubmitResponse>,
|
||||
bindPublishAccount: (platformId: string) =>
|
||||
ipcRenderer.invoke('desktop:bind-publish-account', platformId) as Promise<DesktopAccountInfo>,
|
||||
refreshRuntimeAccounts: () =>
|
||||
|
||||
Reference in New Issue
Block a user