Fix asset loading on Windows

This commit is contained in:
Justin Espedal
2019-06-19 16:22:32 -07:00
committed by Joshua Granick
parent ef154d2916
commit 0fdbb6b2ed

View File

@@ -43,8 +43,6 @@ import sys.FileSystem;
rootPath = lime.system.System.applicationDirectory;
#elseif (winrt)
rootPath = "./";
#elseif (sys && windows && !cs)
rootPath = FileSystem.absolutePath (haxe.io.Path.directory (#if (haxe_ver >= 3.3) Sys.programPath () #else Sys.executablePath () #end)) + "/";
#else
rootPath = "";
#end