const { contextBridge, ipcRenderer } = require('electron/renderer') contextBridge.exposeInMainWorld('electronAPI', { getAppPath: () => ipcRenderer.invoke('get-app-path') })