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".
This commit is contained in:
copygirl 2019-04-09 15:36:54 +02:00 committed by Modmuss50
parent e1267680f2
commit 26c548195e

View file

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