Override ApplicationMain.hx template

I’ve copied template file ApplicationMain.hx to my project to override it, but during build process I get this compile error:

Main has no field meta

I need it to override allowHighDPI and get value runtime. But I receive this error even without any changes.

Ok. I had to use ApplicationMain.hx from openfl template instead of lime

1 Like