diff --git a/templates/haxe/DefaultAssetLibrary.hx b/templates/haxe/DefaultAssetLibrary.hx index 4ee7ff57b..76e3c54bd 100644 --- a/templates/haxe/DefaultAssetLibrary.hx +++ b/templates/haxe/DefaultAssetLibrary.hx @@ -45,7 +45,7 @@ class DefaultAssetLibrary extends AssetLibrary { private var lastModified:Float; private var timer:Timer; - #if desktop + #if (desktop && !mac) private var rootPath = FileSystem.absolutePath (Path.directory (#if (haxe_ver >= 3.3) Sys.programPath () #else Sys.executablePath () #end)) + "/"; #else private var rootPath = "";