Fix VS Code launching in wrong folder (#66)

It appears that a backslash in the working directory (in "launch.json") is not correctly handled by the Java launcher or so, causing the game to run in the workspace folder instead of "run".
dev/0.11
copygirl 2019-04-09 15:36:54 +02:00 committed by Modmuss50
parent e1267680f2
commit 26c548195e
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class GenVsCodeProjectTask extends DefaultLoomTask {
public String type = "java"; public String type = "java";
public String name; public String name;
public String request = "launch"; public String request = "launch";
public String cwd = "${workspaceFolder}\\run"; public String cwd = "${workspaceFolder}/run";
public String console = "internalConsole"; public String console = "internalConsole";
public boolean stopOnEntry = false; public boolean stopOnEntry = false;
public String mainClass; public String mainClass;