소스 검색

fixed appPath when running from vscode

Nicolas Cannasse 6 년 전
부모
커밋
70469ba223
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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");