Remove _appinfo.json_ special case.

Two reasons:

1. This is how it always worked in practice. The old special case actually did nothing due to an oversight.
2. Per the principle of least astonishment, Lime should avoid messing with the user's assets. If they wanted it to be a template, they would have specified `type="template"`.
This commit is contained in:
Joseph Cloutier
2025-10-22 19:21:51 -04:00
parent 5e3f77a44f
commit 0d3f193021

View File

@@ -237,14 +237,6 @@ class TizenPlatform extends PlatformTarget
ProjectHelper.recursiveSmartCopyTemplate(project, "haxe", targetDirectory + "/haxe", context);
ProjectHelper.recursiveSmartCopyTemplate(project, "tizen/hxml", targetDirectory + "/haxe", context);
for (asset in project.assets)
{
if (asset.targetPath == "/appinfo.json" || asset.targetPath == "appinfo.json")
{
asset.type = AssetType.TEMPLATE;
}
}
// going to root directory now, but should it be a forced "assets" folder later?
copyProjectAssets(destination + "res/", "");
// copyProjectAssets(destination + "res/", "assets");