platform specific log file location support case fix

This commit is contained in:
Craig Raw 2020-08-25 19:29:28 +02:00
parent 274fb9afc3
commit bd964e9bd2

View file

@ -11,7 +11,7 @@ public class PropertyDefiner extends PropertyDefinerBase {
@Override @Override
public String getPropertyValue() { public String getPropertyValue() {
return isWindows() ? System.getenv("APPDATA") + "/" + application.substring(0, 1).toUpperCase() + application.substring(1) : System.getProperty("user.home") + "/." + application; return isWindows() ? System.getenv("APPDATA") + "/" + application.substring(0, 1).toUpperCase() + application.substring(1).toLowerCase() : System.getProperty("user.home") + "/." + application.toLowerCase();
} }
private boolean isWindows() { private boolean isWindows() {