Skip to content

Commit

Permalink
Explicitly enable remote module in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Nov 26, 2020
1 parent 5260ed2 commit 3be9bc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/createWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ module.exports = {
show: false,
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true,
},
icon: nativeImage.createFromPath(
path.join(__dirname, "/windows/otherAssets/icon.ico")
Expand Down

0 comments on commit 3be9bc6

Please sign in to comment.