From 5d935fe9c3fd7feba4e74e7e1582a1ee219b3ead Mon Sep 17 00:00:00 2001 From: philippeBron Date: Fri, 1 Sep 2023 17:07:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fixes=20"require"=20bug=20in=20o?= =?UTF-8?q?ther=20pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- loadCarroyageWindow.html | 2 +- loadDataWindow.html | 2 +- main.js | 9 ++++++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/loadCarroyageWindow.html b/loadCarroyageWindow.html index 3f5dfc4..e211fb0 100644 --- a/loadCarroyageWindow.html +++ b/loadCarroyageWindow.html @@ -4,7 +4,7 @@ - + diff --git a/loadDataWindow.html b/loadDataWindow.html index 813d444..bdc918e 100644 --- a/loadDataWindow.html +++ b/loadDataWindow.html @@ -4,7 +4,7 @@ - + diff --git a/main.js b/main.js index 971cedf..ab24bfa 100644 --- a/main.js +++ b/main.js @@ -51,7 +51,8 @@ const createHelpWindow = () => { height: 600, title: 'Aide', webPreferences: { - nodeIntegration: true + nodeIntegration: true, + contextIsolation: false } }) helpWindow.loadURL(url.format({ @@ -72,7 +73,8 @@ const createLoadDataWindow = () => { height: 600, title: 'Chargement', webPreferences: { - nodeIntegration: true + nodeIntegration: true, + contextIsolation: false } }) loadDataWindow.loadURL(url.format({ @@ -93,7 +95,8 @@ const createLoadCarroyageWindow = () => { height: 600, title: 'Chargement', webPreferences: { - nodeIntegration: true + nodeIntegration: true, + contextIsolation: false } }) loadCarroyageWindow.loadURL(url.format({