diff --git a/templates/electron/haxe/ElectronSetup.hx b/templates/electron/haxe/ElectronSetup.hx index 5b1caa793..049c5523a 100644 --- a/templates/electron/haxe/ElectronSetup.hx +++ b/templates/electron/haxe/ElectronSetup.hx @@ -7,7 +7,7 @@ class ElectronSetup { static function main() { - electron.main.App.commandLine.appendSwitch('ignore-gpu-blacklist', 'true'); + untyped (electron.main.App).commandLine.appendSwitch('ignore-gpu-blacklist', 'true'); var windows:Array = [ ::foreach windows::