Disable context isolation to make it work with latest version of Electron. Though a rework is needed on the render code to remove the need for require.

This commit is contained in:
Feufochmar 2021-05-24 11:48:29 +02:00
parent 6944eb92b0
commit d51dc50f11
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ function createWindow () {
width: 1024,
height: 768,
webPreferences: {
nodeIntegration: true
nodeIntegration: true,
contextIsolation: false
},
icon: __dirname + '/img/APMail.png'
})