mirror of
https://github.com/HMCore/Orbot.git
synced 2026-01-06 09:42:49 +00:00
Fix data upgrader
This commit is contained in:
@@ -43,7 +43,7 @@ object Main {
|
||||
var content = ""
|
||||
file.bufferedReader().readLines().forEach {
|
||||
content += it
|
||||
.replace(",\"mentionedRole\":", ",\"type\":\"BLOGPOST\",\"mentionedRole\":")
|
||||
.replace("""mentionedRole":""".toRegex(),"""type":"BLOGPOST","mentionedRole":""")
|
||||
}
|
||||
file.writeBytes(content.encodeToByteArray())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user