Explorar o código

fixed appPath when running from vscode

Nicolas Cannasse %!s(int64=6) %!d(string=hai) anos
pai
achega
70469ba223
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hide/Ide.hx

+ 1 - 1
hide/Ide.hx

@@ -413,7 +413,7 @@ class Ide {
 			if( sys.FileSystem.exists(prevPath + "/hide.js") )
 				return appPath = prevPath;
 			// nwjs launch
-			var path = Sys.getCwd();
+			var path = Sys.getCwd().split("\\").join("/");
 			if( sys.FileSystem.exists(path+"/hide.js") )
 				return appPath = path;
 			message("Hide application path was not found");