Allow save app log when not activated

may be useful for patch boot.
This commit is contained in:
vvb2060
2021-09-08 12:05:49 +08:00
committed by John Wu
parent c038683b54
commit 82f303e1c6
3 changed files with 7 additions and 3 deletions
@@ -66,7 +66,7 @@ class LogViewModel(
ProcessBuilder("getprop").start()
.inputStream.reader().use { it.copyTo(file) }
file.write("---System MountInfo---\n\n")
file.write("\n\n---System MountInfo---\n\n")
FileInputStream("/proc/self/mountinfo").reader().use { it.copyTo(file) }
file.write("\n---Magisk Logs---\n")