AIRHelper: allow listen=port in <config:air/> to use USB debugging instead of wifi debugging for Adobe AIR apps on Android or iOS
This commit is contained in:
@@ -149,12 +149,20 @@ class AIRHelper
|
||||
|
||||
if (project.debug)
|
||||
{
|
||||
args.push("-connect");
|
||||
|
||||
if (project.config.exists("air.connect"))
|
||||
{
|
||||
args.push("-connect");
|
||||
args.push(project.config.getString("air.connect"));
|
||||
}
|
||||
else if (project.config.exists("air.listen"))
|
||||
{
|
||||
args.push("-listen");
|
||||
args.push(project.config.getString("air.listen"));
|
||||
}
|
||||
else
|
||||
{
|
||||
args.push("-connect");
|
||||
}
|
||||
}
|
||||
|
||||
args = args.concat(signingOptions);
|
||||
|
||||
Reference in New Issue
Block a user