chore: handle opening docs and community via external shell

This commit is contained in:
haritabh-z01 2025-07-06 22:09:06 +05:30
parent 3be5f9b1a5
commit 018c0c73c5
4 changed files with 23 additions and 1 deletions

View file

@ -130,6 +130,9 @@ const api: ElectronAPI = {
ipcRenderer.invoke("log-message", "debug", name, ...args),
}),
},
// External link handling
openExternal: (url: string) => ipcRenderer.invoke("open-external", url),
};
contextBridge.exposeInMainWorld("electronAPI", api);