diff --git a/source/index.js b/source/index.js index fca7174..41c80f1 100644 --- a/source/index.js +++ b/source/index.js @@ -39,10 +39,13 @@ class ProgressBar { minimizable: false, maximizable: false, width: 500, - height: 170 + height: 170, + webPreferences: { + nodeIntegration: true + }, }, - remoteWindow: null + remoteWindow: null }; this._styleSelector = {