fix: delete temporary files after root installation

This commit is contained in:
oSumAtrIX 2023-08-24 16:24:33 +02:00
parent a536c9f815
commit a3d8705e89
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ internal sealed class AdbManager(deviceSerial: String? = null) : Closeable {
device.run(UMOUNT.applyReplacement()) // Sanity check.
device.run(MOUNT_PATH.applyReplacement())
device.run(RESTART.applyReplacement())
device.run(DELETE.applyReplacement(TMP_PATH).applyReplacement())
super.install(apk)
}