Fix issue with not finding assets in Linux build
This commit is contained in:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user