Enable native dialogs across shells

This commit is contained in:
Shantur Rathore
2025-11-23 00:36:43 +00:00
parent 00bd9f9c1c
commit 4062b43380
19 changed files with 946 additions and 13 deletions

View File

@@ -14,6 +14,7 @@ const electronAPI = {
return () => ipcRenderer.removeAllListeners("cli:error")
},
getCliStatus: () => ipcRenderer.invoke("cli:getStatus"),
openDialog: (options) => ipcRenderer.invoke("dialog:open", options),
}
contextBridge.exposeInMainWorld("electronAPI", electronAPI)