electron upgrade

This commit is contained in:
Jan Prochazka
2021-01-07 07:16:46 +01:00
parent cc317c2433
commit 6ac2122c76
3 changed files with 7 additions and 6 deletions

View File

@@ -118,11 +118,12 @@ function createWindow() {
width: 1200,
height: 800,
title: 'DbGate',
icon: os.platform() == 'win32' ? 'icon.ico' : 'icon512.png',
icon: os.platform() == 'win32' ? 'icon.ico' : 'icon.png',
...bounds,
show: false,
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true,
},
});