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

Commit 419b57b

Browse files
ckerrcodebytere
authored andcommitted
fix: enable node integration (#416)
needed for the current code structure, but disabled by default in 5.0
1 parent 00012a4 commit 419b57b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

main.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ function initialize () {
2222
width: 1080,
2323
minWidth: 680,
2424
height: 840,
25-
title: app.getName()
25+
title: app.getName(),
26+
webPreferences: {
27+
nodeIntegration: true
28+
}
2629
}
2730

2831
if (process.platform === 'linux') {

0 commit comments

Comments
 (0)