fix(desktop): use different method to send messages across main and render without node integration in preload (#1769)
This commit is contained in:
@@ -166,6 +166,7 @@ async function createWindow(store: Store): Promise<Electron.BrowserWindow> {
|
||||
spellcheck: true,
|
||||
nodeIntegration: isTesting(),
|
||||
contextIsolation: true,
|
||||
sandbox: true,
|
||||
preload: Paths.preloadJs,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user