Enable remote module (#2883)

This commit is contained in:
Ivan Rukhavets 2020-06-05 14:24:21 +03:00 committed by GitHub
parent 1adf5ee95e
commit 8d04d5b165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ function createWindow (): Promise<unknown> {
const win = new BrowserWindow({
height,
webPreferences: {
enableRemoteModule: false,
enableRemoteModule: true,
nodeIntegration: true
},
width