Completely fix api calls

Fix web browser api call
This commit is contained in:
Brandon Plank 2021-12-06 17:27:56 -05:00
parent a7d1ce0069
commit 56defb0e5b
4 changed files with 11 additions and 18 deletions

View file

@ -1,7 +1,8 @@
const electron = require('electron')
console.log('preload is in baby')
console.log('Loaded Preload')
process.once('loaded', () => {
console.log("Setting ipcRenderer")
global.ipcRenderer = electron.ipcRenderer;
});