From bd964e9bd2dca849f0f444d5a40ca65a5eb20fa8 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Tue, 25 Aug 2020 19:29:28 +0200 Subject: [PATCH] platform specific log file location support case fix --- src/main/java/com/sparrowwallet/drongo/PropertyDefiner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/drongo/PropertyDefiner.java b/src/main/java/com/sparrowwallet/drongo/PropertyDefiner.java index b074922..401f6b6 100644 --- a/src/main/java/com/sparrowwallet/drongo/PropertyDefiner.java +++ b/src/main/java/com/sparrowwallet/drongo/PropertyDefiner.java @@ -11,7 +11,7 @@ public class PropertyDefiner extends PropertyDefinerBase { @Override 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() {