Added start core function from nodemanagement

This commit is contained in:
AlphaX-Projects
2024-01-03 16:47:53 +01:00
parent 1697adeafe
commit 6123f5eb36
4 changed files with 118 additions and 26 deletions

View File

@@ -2,6 +2,7 @@ const { contextBridge, ipcRenderer, webFrame } = require('electron')
contextBridge.exposeInMainWorld('electronAPI', {
setStartCore: () => ipcRenderer.send('set-start-core'),
startCore: () => ipcRenderer.send('start-core-electron'),
checkForUpdate: () => ipcRenderer.send('check-for-update'),
showMyMenu: () => ipcRenderer.send('show-my-menu'),
focusApp: () => ipcRenderer.send('focus-app'),