diff --git a/templates/electron/haxe/ElectronSetup.hx b/templates/electron/haxe/ElectronSetup.hx index 4334e6929..f786b0f12 100644 --- a/templates/electron/haxe/ElectronSetup.hx +++ b/templates/electron/haxe/ElectronSetup.hx @@ -51,6 +51,9 @@ class ElectronSetup { var config:Dynamic = { + webPreferences:{ + nodeIntegration:true + }, fullscreen: window.fullscreen, frame: frame, resizable: window.resizable,