Fix desktop terminal link and context menu behavior

This commit is contained in:
Mohamed Boudra
2026-03-28 11:14:43 +07:00
parent 7ca428677c
commit a3aed9b8b6
5 changed files with 73 additions and 2 deletions
+4
View File
@@ -51,4 +51,8 @@ contextBridge.exposeInMainWorld("paseoDesktop", {
opener: {
openUrl: (url: string) => ipcRenderer.invoke("paseo:opener:openUrl", url),
},
menu: {
showContextMenu: (input?: Record<string, unknown>) =>
ipcRenderer.invoke("paseo:menu:showContextMenu", input),
},
});