[+] AimeDB register when not found

This commit is contained in:
Azalea
2025-03-11 09:53:22 -04:00
parent d4d3a2b36c
commit 72181e7ef7
3 changed files with 34 additions and 15 deletions

View File

@@ -42,7 +42,7 @@ class AllNetClient(val dns: String, val keychip: String, val game: String, val v
?: throw Exception("PowerOn Failed: No game URL returned")
}
val userId by lazy { aime.execLookup(card) }
val userId by lazy { aime.execLookupOrRegister(card) }
fun findDataBroker(log: (String) -> Unit) = when (game) {
"SDHD" -> ChusanDataBroker(this, log)