Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit c3b4a01

Browse files
committed
Remote module defaults to false
enableRemoteModule now defaults to false and is in the verge of being deprecated. https://www.electronjs.org/docs/breaking-changes#default-changed-enableremotemodule-defaults-to-false
1 parent 60f3918 commit c3b4a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/worker-manager.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ export class RendererProcess {
268268
this.onExecStarted = onExecStarted;
269269

270270
this.win = new BrowserWindow({show: !!process.env.ATOM_GITHUB_SHOW_RENDERER_WINDOW,
271-
webPreferences: {nodeIntegration: true}});
271+
webPreferences: {nodeIntegration: true, enableRemoteModule: true}});
272272
this.webContents = this.win.webContents;
273273
// this.webContents.openDevTools();
274274

0 commit comments

Comments
 (0)