From a67b00e21e55a8e1de54e5d217542d9f0ac725a9 Mon Sep 17 00:00:00 2001 From: ElectroMutex <97535877+SkillfulElectro@users.noreply.github.com> Date: Wed, 5 Jun 2024 19:25:20 +0330 Subject: [PATCH] Update main.js --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') } };