Data paths were hardcoded

This commit is contained in:
2025-04-25 19:16:32 +02:00
parent 827c5e013d
commit 4d67b36ad9

View File

@ -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)) {