5 lines
175 B
JavaScript
5 lines
175 B
JavaScript
const { contextBridge, ipcRenderer } = require('electron/renderer')
|
|
|
|
contextBridge.exposeInMainWorld('electronAPI', {
|
|
saveDialog: () => ipcRenderer.invoke('save-dialog')
|
|
})
|