Made dataFolder a bit nices (doesn't contain '/./' anymore)

This commit is contained in:
dankito 2020-10-26 18:18:37 +01:00
parent d499b597f9
commit 704ac55239
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ import tornadofx.FX.Companion.messages
class MainWindow : View(messages["application.title"]) {
private val dataFolder = ensureFolderExists(File("."), "data")
private val dataFolder = ensureFolderExists(File(System.getProperty("user.dir")), "data")
private val databaseFolder = ensureFolderExists(dataFolder, "db")