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

Commit

Permalink
fix: enable node integration (#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
Expand Up @@ -22,7 +22,10 @@ function initialize () {
width: 1080,
minWidth: 680,
height: 840,
title: app.getName()
title: app.getName(),
webPreferences: {

This comment has been minimized.

Copy link
@heemoo055

heemoo055 Jun 29, 2021

medoo1420m@

nodeIntegration: true
}
}

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

0 comments on commit 419b57b

Please sign in to comment.