const { contextBridge, ipcRenderer } = require('electron') contextBridge.exposeInMainWorld('electronAPI',{ openFile: () => ipcRenderer.invoke('dialog:openFile') })