MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / showCrashScreen

Function showCrashScreen

apps/desktop/src/main/index.ts:543–547  ·  view source on GitHub ↗
(window: BrowserWindow | null = liveMainWindow())

Source from the content-addressed store, hash-verified

541};
542
543const showCrashScreen = (window: BrowserWindow | null = liveMainWindow()): void => {
544 if (!window) return;
545 const html = sidecarCrashHtml({ reported: errorReportingEnabled });
546 void window.loadURL(htmlDataUrl(html));
547};
548
549const createWindow = async (conn: SidecarConnection) => {
550 installBearerAuthHeader(conn.baseUrl, conn.authToken);

Callers 3

armSupervisedMonitorFunction · 0.85
bootFunction · 0.85

Calls 3

sidecarCrashHtmlFunction · 0.90
liveMainWindowFunction · 0.85
htmlDataUrlFunction · 0.85

Tested by

no test coverage detected