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:
@@ -6,6 +6,7 @@ import sys.io.File;
|
||||
import lime.tools.helpers.PlatformHelper;
|
||||
import lime.project.Platform;
|
||||
|
||||
|
||||
class NekoHelper {
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user