5 lines
198 B
JavaScript
5 lines
198 B
JavaScript
const { contextBridge, ipcRenderer } = require('electron/renderer')
|
|
|
|
contextBridge.exposeInMainWorld('electronAPI', {
|
|
openInformationDialog: () => ipcRenderer.invoke('open-information-dialog')
|
|
})
|