Need to enableRemote in the electron browser window that gets created by filmout.

This commit is contained in:
Matt McWilliams 2021-02-23 16:16:17 -05:00
parent 88a6e9f563
commit ad1ac51fc8
3 changed files with 5 additions and 3 deletions

View File

@ -16,7 +16,8 @@ class WebView {
const prefs = {
webPreferences: {
nodeIntegration: true,
allowRunningInsecureContent: false
allowRunningInsecureContent: false,
enableRemoteModule: true
},
width: 800,
height: 600,

File diff suppressed because one or more lines are too long

View File

@ -24,7 +24,8 @@ class WebView {
const prefs : any = {
webPreferences: {
nodeIntegration: true,
allowRunningInsecureContent: false
allowRunningInsecureContent: false,
enableRemoteModule: true
},
width: 800,
height: 600,