Fix issue where standard assets could be processed as templates, resolves use of ATF for Flash

This commit is contained in:
Joshua Granick
2017-02-21 09:01:22 -08:00
parent 0dfc55f06e
commit 23f98d6341

View File

@@ -25,7 +25,7 @@ import cpp.Lib;
class FileHelper {
private static var binaryExtensions = [ "jpg", "jpeg", "png", "exe", "gif", "ini", "zip", "tar", "gz", "fla", "swf" ];
private static var binaryExtensions = [ "jpg", "jpeg", "png", "exe", "gif", "ini", "zip", "tar", "gz", "fla", "swf", "atf" ];
private static var textExtensions = [ "xml", "java", "hx", "hxml", "html", "ini", "gpe", "pch", "pbxproj", "plist", "json", "cpp", "mm", "properties", "hxproj", "nmml", "lime" ];
@@ -33,7 +33,7 @@ class FileHelper {
if (asset.sourcePath != "") {
copyFile (asset.sourcePath, destination, context);
copyFile (asset.sourcePath, destination, context, asset.type == TEMPLATE);
} else {
@@ -70,7 +70,7 @@ class FileHelper {
if (isNewer (asset.sourcePath, destination)) {
copyFile (asset.sourcePath, destination, null, false);
copyFile (asset.sourcePath, destination, null, asset.type == TEMPLATE);
}