Fix issue with not finding assets in Linux build

This commit is contained in:
Joshua Granick
2016-07-20 14:16:05 -07:00
parent 66412504e7
commit 5945147b8a

View File

@@ -45,7 +45,7 @@ class DefaultAssetLibrary extends AssetLibrary {
private var lastModified:Float;
private var timer:Timer;
#if (desktop && !mac)
#if windows
private var rootPath = FileSystem.absolutePath (Path.directory (#if (haxe_ver >= 3.3) Sys.programPath () #else Sys.executablePath () #end)) + "/";
#else
private var rootPath = "";