Fix empty file and add core settings

This commit is contained in:
AlphaX-Projects
2023-05-04 00:33:25 +02:00
parent 767101eee7
commit c5d6159ef2
25 changed files with 149 additions and 23 deletions

6
lib/preload.js Normal file
View File

@@ -0,0 +1,6 @@
const { contextBridge, ipcRenderer } = require('electron')
contextBridge.exposeInMainWorld('electronAPI', {
setStartCore: () => ipcRenderer.send('set-start-core'),
checkForUpdate: () => ipcRenderer.send('check-for-update')
})