- Small change to preload to define global.ipcRenderer early.
- Changed BW options and removed redundant options that (I think) are no longer used by the renderer. - Added launch args to app.ts
This commit is contained in:
parent
6dad815d48
commit
312a5a7b70
4 changed files with 28 additions and 13 deletions
|
@ -1,5 +1,4 @@
|
|||
const electron = require('electron')
|
||||
|
||||
global.ipcRenderer = require('electron').ipcRenderer;
|
||||
console.log('Loaded Preload')
|
||||
|
||||
let cache = {playParams: {id: 0}, status: null, remainingTime: 0},
|
||||
|
@ -91,6 +90,5 @@ const MusicKitInterop = {
|
|||
|
||||
process.once('loaded', () => {
|
||||
console.log("Setting ipcRenderer")
|
||||
global.ipcRenderer = electron.ipcRenderer;
|
||||
global.MusicKitInterop = MusicKitInterop;
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue