project.xml: add <config:air profile=value/> to optionally support custom AIR profiles on run
This commit is contained in:
@@ -286,7 +286,12 @@ class AIRHelper
|
|||||||
var extDirs:Array<String> = getExtDirs(project);
|
var extDirs:Array<String> = getExtDirs(project);
|
||||||
|
|
||||||
var profile:String;
|
var profile:String;
|
||||||
if (targetPlatform == ANDROID)
|
|
||||||
|
if (project.config.exists("air.profile"))
|
||||||
|
{
|
||||||
|
profile = project.config.getString("air.profile");
|
||||||
|
}
|
||||||
|
else if (targetPlatform == ANDROID)
|
||||||
{
|
{
|
||||||
profile = "mobileDevice";
|
profile = "mobileDevice";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user