diff --git a/lime/tools/helpers/NekoHelper.hx b/lime/tools/helpers/NekoHelper.hx index 5f4953bef..04b10330a 100644 --- a/lime/tools/helpers/NekoHelper.hx +++ b/lime/tools/helpers/NekoHelper.hx @@ -3,6 +3,8 @@ package lime.tools.helpers; import lime.project.Haxelib; import sys.io.File; +import lime.tools.helpers.PlatformHelper; +import lime.project.Platform; class NekoHelper { @@ -41,7 +43,7 @@ class NekoHelper { output.write (executable); output.close (); - if (iconPath != null) { + if (iconPath != null && PlatformHelper.hostPlatform == Platform.WINDOWS) { var templates = [ PathHelper.getHaxelib (new Haxelib ("lime")) + "/templates" ].concat (templatePaths); ProcessHelper.runCommand ("", PathHelper.findTemplate (templates, "bin/ReplaceVistaIcon.exe"), [ target, iconPath, "1" ], true, true); @@ -59,4 +61,4 @@ class NekoHelper { } -} \ No newline at end of file +}