diff --git a/templates/haxe/ManifestResources.hx b/templates/haxe/ManifestResources.hx index a938f5686..cfaede1fb 100644 --- a/templates/haxe/ManifestResources.hx +++ b/templates/haxe/ManifestResources.hx @@ -59,10 +59,8 @@ import sys.FileSystem; rootPath = "assets/"; #elseif android rootPath = ""; - #elseif console + #elseif (console || sys) rootPath = lime.system.System.applicationDirectory; - #elseif sys - rootPath = Path.directory(Sys.programPath()) + "/"; #else rootPath = "./"; #end