Made dataFolder a bit nices (doesn't contain '/./' anymore)
This commit is contained in:
parent
d499b597f9
commit
704ac55239
|
@ -28,7 +28,7 @@ import tornadofx.FX.Companion.messages
|
||||||
|
|
||||||
class MainWindow : View(messages["application.title"]) {
|
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")
|
private val databaseFolder = ensureFolderExists(dataFolder, "db")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue