Fix white screen on electron app, Ref: #244

This commit is contained in:
ziajka
2019-01-04 12:57:58 +01:00
parent d7529e93fd
commit 218a2a511d
4 changed files with 237 additions and 201 deletions

View File

@ -76,7 +76,7 @@ function createWindow () {
width: 800,
height: 600,
webPreferences: {
nodeIntegration: false,
nodeIntegration: true,
preload: path.join(__dirname, 'sentry.js')
}
});