diff --git a/main.js b/main.js index d75ad6e..90f6b80 100644 --- a/main.js +++ b/main.js @@ -56,7 +56,8 @@ function createWindow() { frame: options.title, webPreferences: { // if you want it be possible to change stuff in the engine backend , remove the line below - nodeIntegration: false , + // the nodeIntegration set to false , makes all dynamic changes from preload.js invalid + // nodeIntegration: false , preload: path.join(__dirname, 'preload.js') } };