introduced backgroundThrottle: false,

This commit is contained in:
dj2ls 2022-11-06 17:00:20 +01:00
parent 30c1844ce4
commit 89e58ca98d

View file

@ -176,6 +176,7 @@ function createWindow() {
icon: 'src/img/icon.png',
webPreferences: {
//preload: path.join(__dirname, 'preload-main.js'),
backgroundThrottle: false,
preload: require.resolve('./preload-main.js'),
nodeIntegration: true,
contextIsolation: false,