Commit e79e744e authored by Viktor De Pasquale's avatar Viktor De Pasquale

Fixed magisk db not returning stuff due to bad syntax

parent 7abdac72
package com.topjohnwu.magisk.data.database.base package com.topjohnwu.magisk.data.database.base
data class MagiskQuery(private val _query: String) { data class MagiskQuery(private val _query: String) {
val query = "magisk --sqlite $_query" val query = "magisk --sqlite '$_query'"
} }
\ No newline at end of file
...@@ -69,6 +69,7 @@ class Select : MagiskQueryBuilder { ...@@ -69,6 +69,7 @@ class Select : MagiskQueryBuilder {
.appendln(condition) .appendln(condition)
.appendln(orderField) .appendln(orderField)
.toString() .toString()
.replace("\n", " ")
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment