Add entry class to non-template displalay command

This commit is contained in:
Joshua Granick
2019-02-28 11:58:38 -08:00
parent 44bf137f9b
commit 00e3c85b58
9 changed files with 37 additions and 28 deletions

View File

@@ -305,12 +305,13 @@ class TVOSPlatform extends PlatformTarget
else
{
var context = project.templateContext;
var hxml = new HXML();
hxml.noOutput = true;
var hxml = HXML.fromString(context.HAXE_FLAGS);
hxml.addClassName(context.APP_MAIN);
hxml.cpp = "_";
hxml.define("tvos");
hxml.define("appletv");
return context.HAXE_FLAGS + "\n" + hxml.toString();
hxml.noOutput = true;
return hxml;
}
}