Added new -air-simulator option for lime test air -ios (or lime test air -android)

This launches the AIR simulator (ADL), but it passes additional options to tell it to simulate a mobile device.
This commit is contained in:
Josh Tynjala
2021-11-12 14:36:17 -08:00
parent 66d906395a
commit bedeed591b
3 changed files with 43 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ class AIRPlatform extends FlashPlatform
// TODO: Should we package on desktop in "deploy" command instead?
if (targetPlatformType != DESKTOP)
if (targetPlatformType != DESKTOP && !project.targetFlags.exists("air-simulator"))
{
var files = [project.app.file + ".swf"];
for (asset in project.assets)