Data paths were hardcoded
This commit is contained in:
parent
827c5e013d
commit
4d67b36ad9
|
@ -32,8 +32,8 @@ fun main(args: Array<String>) {
|
|||
|
||||
fun dbSetup(xmlFile: String, jsonFile: String, force: Boolean = false) {
|
||||
runBlocking {
|
||||
val xml = Loader.loadXml("/home/jay/intrinsics/data.xml")
|
||||
val perf = Loader.loadJson("/home/jay/intrinsics/perf2.js")
|
||||
val xml = Loader.loadXml(xmlFile)
|
||||
val perf = Loader.loadJson(jsonFile)
|
||||
|
||||
val current = Loader.DatedVersion.fromPrefs()
|
||||
if(force || (xml.version.version isNewerThan current.version)) {
|
||||
|
|
Loading…
Reference in New Issue