Skip to content

Commit

Permalink
fix: enable node integration (electron#416)
Browse files Browse the repository at this point in the history
needed for the current code structure, but disabled by default in 5.0
  • Loading branch information
ckerr authored and codebytere committed Feb 28, 2019
1 parent 00012a4 commit 419b57b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ function initialize () {
width: 1080,
minWidth: 680,
height: 840,
title: app.getName()
title: app.getName(),
webPreferences: {
nodeIntegration: true
}
}

if (process.platform === 'linux') {
Expand Down

0 comments on commit 419b57b

Please sign in to comment.