···11-import { contextBridge } from 'electron';
11+import { contextBridge, ipcRenderer } from 'electron';
2233-// Expose a minimal API to the renderer so the web app can detect Electron
43contextBridge.exposeInMainWorld('electronAPI', {
54 isElectron: true,
65 platform: process.platform,
66+ retry: () => ipcRenderer.send('retry-connection'),
77});