Completely fix api calls
Fix web browser api call
This commit is contained in:
parent
a7d1ce0069
commit
56defb0e5b
4 changed files with 11 additions and 18 deletions
|
@ -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;
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue