From 6219ad93d0a3067261245117fdc0d646b187beb5 Mon Sep 17 00:00:00 2001 From: CodeSteak Date: Wed, 12 Jun 2019 13:28:03 +0200 Subject: [PATCH] Fix #31 : Config Path use ~/.config instead. This is more common for Desktop Apps. --- .../org/hso/texturesyncclient/controller/SettingsController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/kotlin/org/hso/texturesyncclient/controller/SettingsController.kt b/client/src/main/kotlin/org/hso/texturesyncclient/controller/SettingsController.kt index f815fa9..f24bc25 100644 --- a/client/src/main/kotlin/org/hso/texturesyncclient/controller/SettingsController.kt +++ b/client/src/main/kotlin/org/hso/texturesyncclient/controller/SettingsController.kt @@ -26,7 +26,7 @@ class SettingsController { dirPath = if (osName.contains("Windows")) { "$userHome/Documents/TextureSync" } else { - "$userHome/.TextureSync" + "$userHome/.config/TextureSync" } settingsFile = File("$dirPath/config.xml") //open Settings file