From cb543048a551518026c98af87622d189571e3b95 Mon Sep 17 00:00:00 2001 From: Alex Simons Date: Tue, 30 Jun 2020 05:48:44 -0500 Subject: [PATCH] V4 Bug Fixes (#162) * Bundling xml tools * Using existing method --- build.gradle | 1 + src/main/kotlin/com/markskelton/legacy/LegacyMigration.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2bb9920..bdd87c5 100644 --- a/build.gradle +++ b/build.gradle @@ -15,6 +15,7 @@ repositories { dependencies { implementation 'io.sentry:sentry:1.7.30' + implementation'org.codehaus.groovy:groovy-xml:2.5.11' } configurations { diff --git a/src/main/kotlin/com/markskelton/legacy/LegacyMigration.kt b/src/main/kotlin/com/markskelton/legacy/LegacyMigration.kt index df9731f..699d056 100644 --- a/src/main/kotlin/com/markskelton/legacy/LegacyMigration.kt +++ b/src/main/kotlin/com/markskelton/legacy/LegacyMigration.kt @@ -32,7 +32,7 @@ object LegacyMigration { private fun migrateUser() { FileBasedStorage( - Paths.get(PathManager.getConfigDir().toAbsolutePath().toString(), "options", "laf.xml"), + Paths.get(PathManager.getConfigPath(), "options", "laf.xml"), "laf.xml", "application", null,