mirror of https://github.com/qortal/qortal-ui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
330 B
8 lines
330 B
const { contextBridge, ipcRenderer } = require('electron') |
|
|
|
contextBridge.exposeInMainWorld('electronAPI', { |
|
setStartCore: () => ipcRenderer.send('set-start-core'), |
|
checkForUpdate: () => ipcRenderer.send('check-for-update'), |
|
showMyMenu: () => ipcRenderer.send('show-my-menu'), |
|
focusApp: () => ipcRenderer.send('focus-app'), |
|
}) |