Compatible with electron version 11.

Compatible with electron version 11.
This commit is contained in:
Rainy
2020-12-17 08:35:12 +08:00
committed by Joshua Granick
parent 6cb631ce07
commit 6ee94bcf60

View File

@@ -51,6 +51,9 @@ class ElectronSetup
{ {
var config:Dynamic = var config:Dynamic =
{ {
webPreferences:{
nodeIntegration:true
},
fullscreen: window.fullscreen, fullscreen: window.fullscreen,
frame: frame, frame: frame,
resizable: window.resizable, resizable: window.resizable,