feat(bugReport): add service status check and update UI if sendReport server is down

This commit is contained in:
MasterAcnolo
2026-09-29 21:30:20 +02:00
parent 1e099f6bb6
commit 1c0dd32732
5 changed files with 114 additions and 10 deletions

View File

@@ -214,4 +214,9 @@ contextBridge.exposeInMainWorld("topbarAPI", {
* @returns {Promise<any>}
*/
sendReport: (params) => ipcRenderer.invoke("send-report", params),
/**
* Returns the startup health status of the bug report service.
*/
getReportServiceStatus: () => ipcRenderer.invoke("get-report-service-status"),
});