add the enableRemoteModule preference as the new castlabs release uses v10

This commit is contained in:
Marie 2021-04-22 11:14:49 +02:00 committed by GitHub
parent d8f2dbd0c2
commit c65d1a56c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,7 @@ function createWindow(options = {}) {
preload: path.join(__dirname, "preload.js"),
plugins: true,
devTools: true, // I like tinkering, others might too
enableRemoteModule: true,
},
});