Fix asset loading on Windows
This commit is contained in:
committed by
Joshua Granick
parent
ef154d2916
commit
0fdbb6b2ed
@@ -43,8 +43,6 @@ import sys.FileSystem;
|
|||||||
rootPath = lime.system.System.applicationDirectory;
|
rootPath = lime.system.System.applicationDirectory;
|
||||||
#elseif (winrt)
|
#elseif (winrt)
|
||||||
rootPath = "./";
|
rootPath = "./";
|
||||||
#elseif (sys && windows && !cs)
|
|
||||||
rootPath = FileSystem.absolutePath (haxe.io.Path.directory (#if (haxe_ver >= 3.3) Sys.programPath () #else Sys.executablePath () #end)) + "/";
|
|
||||||
#else
|
#else
|
||||||
rootPath = "";
|
rootPath = "";
|
||||||
#end
|
#end
|
||||||
|
|||||||
Reference in New Issue
Block a user