Hi everyone,
I have some issue since many weeks ago. I developed my custom launcher on java which must be work with forge. I get this error:
The text on bold is the main issue that I try to solve.
I have do that in my java code:
public String getUserPath() {
String home = System.getProperty("user.home");
if(getOSType() == OS.WINDOWS) {
return System.getenv("APPDATA");
}else if(getOSType() == OS.LINUX){
return System.getProperty("user.home", ".");
}else {
return home+"/Library/Application Support";
}
}
public String getWorkingDirectory(String name) {
return getUserPath()+"/"+name;
}