Fixes Icon Issue on Neko Cross Compile Linux to Windows, fix openfl/lime#626

During Cross-Compile from Linux to Windows, Neko Compilation chain will normally call into ReplaceVistaIcon.exe, unfortunately, EXE files are not native applications of NON-Windows systems, thus a permission issue occurs.

By indicating to the Source Code that ReplaceVistaIcon.exe be called only when it detected Windows systems through 

    PlatformHelper.hostPlatform == Platform.WINDOWS

The issue is fixed.
This commit is contained in:
Dominic Guana
2015-12-11 01:20:01 +08:00
parent 5cdfc4cbc5
commit 1a78613d77

View File

@@ -6,6 +6,7 @@ import sys.io.File;
import lime.tools.helpers.PlatformHelper; import lime.tools.helpers.PlatformHelper;
import lime.project.Platform; import lime.project.Platform;
class NekoHelper { class NekoHelper {