Hmm, I wonder if we should use a default window width and height depending upon the target AIR platform:
We use width and height 0 on mobile as a default “scale to fit the native screen size” value.
You’re right, we should also duplicate some of our icon code from other targets
vs.
Thanks for the tag for retina display, I bet we could do ::if WIN_ALLOW_HIGH_DPI:: in our template (and use <window allow-high-dpi="false" /> in the project.xml if you need to disable it)
I added a couple new issues to track this, hope to solve this soon
Where can we find the /.lime/config.xml file please? I get the Error: You must define AIR_SDK with the path to your AIR SDK when I try openfl build air.
Edit: I finally found your answer on another post thanks :d
I link them here in case someone else needs it in the future.
@singmajesty Thanks for the Adobe Air support.
I am trying out Haxe + OpenFL(8.9.1) + Lime (7.5.0) with Starling(2.5.1). But I keep on getting a error when I try to run/debug the Starling (Haxe) demo in FlashDevelop.
This is what error is saying… TypeError: Error #2007: Parameter idleMode must be non-null. at flash.desktop::NativeApplication/set systemIdleMode() at lime._internal.backend.air::AIRApplication()[D:\HaxeToolkit\haxe\lib\lime\7,5,0\src\lime\_internal\backend\air\AIRApplication.hx:16]