ncannasse 8 ani în urmă
părinte
comite
a20f75b6e6
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      hxd/fs/LocalFileSystem.hx

+ 3 - 3
hxd/fs/LocalFileSystem.hx

@@ -359,11 +359,11 @@ class LocalFileSystem implements FileSystem {
 		root = new LocalEntry(this, "root", null, froot);
 		#else
 		#if (haxe_ver >= 3.3)
-			var exePath = Sys.programPath().split("\\").join("/").split("/");
+		var exePath = Sys.programPath().split("\\").join("/").split("/");
 		#else
-			var exePath = Sys.executablePath().split("\\").join("/").split("/");
-			exePath.pop();
+		var exePath = Sys.executablePath().split("\\").join("/").split("/");
 		#end
+		exePath.pop();
 		var froot = sys.FileSystem.fullPath(exePath.join("/") + "/" + baseDir);
 		if( !sys.FileSystem.isDirectory(froot) ) {
 			froot = sys.FileSystem.fullPath(baseDir);