mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-14 10:07:27 +00:00
Fixed magisk db not returning stuff due to bad syntax
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
package com.topjohnwu.magisk.data.database.base
|
||||
|
||||
data class MagiskQuery(private val _query: String) {
|
||||
val query = "magisk --sqlite $_query"
|
||||
val query = "magisk --sqlite '$_query'"
|
||||
}
|
@@ -69,6 +69,7 @@ class Select : MagiskQueryBuilder {
|
||||
.appendln(condition)
|
||||
.appendln(orderField)
|
||||
.toString()
|
||||
.replace("\n", " ")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user