mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-26 01:56:44 +00:00
platform specific log file location support case fix
This commit is contained in:
parent
274fb9afc3
commit
bd964e9bd2
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue