Stephane M
04/24/2019, 10:33 AMconfig
helper, so if the user didn't have to see that conf
folder next to the executable that'd be great (i.e. if the executable was installed in Application for Mac OS X or Program Files for Windows)Carlton Whitehead
04/24/2019, 11:39 AMStephane M
04/24/2019, 11:41 AMconfig
helper in tornadofx?Stephane M
04/24/2019, 11:46 AMclass MyApp : App(WelcomeView::class) {
override val configBasePath: Paths.get("/etc/myapp/conf")
}
You would use this here, right?Carlton Whitehead
04/24/2019, 11:47 AMCarlton Whitehead
04/24/2019, 11:48 AMoverride val configBasePath: Path = Paths.get(URI.create("file://" + AppDirsFactory.getInstance()
.getUserConfigDir(
"digital-raw-sheet",
drsProperties.getString("coner-drs.version"),
"coner"
)
))
Carlton Whitehead
04/24/2019, 11:48 AMStephane M
04/24/2019, 11:48 AMStephane M
04/24/2019, 11:48 AMStephane M
04/24/2019, 11:49 AMCarlton Whitehead
04/24/2019, 11:49 AMStephane M
04/24/2019, 11:50 AMStephane M
04/24/2019, 11:51 AMCarlton Whitehead
04/24/2019, 11:52 AMStephane M
04/24/2019, 11:56 AMwakingrufus
07/30/2019, 7:02 PM