fixed comment alignment

This commit is contained in:
X1nto 2021-01-19 00:29:47 +04:00
parent e114116916
commit 7784827790
1 changed files with 1 additions and 1 deletions

View File

@ -189,9 +189,9 @@ object PackageHelper {
files.forEach { apk ->
if (apk.name != "root.apk") {
val newPath = "/data/local/tmp/${apk.file?.name}"
Shell.su("mv ${apk.file?.path} $newPath").exec()
//moving apk to tmp folder in order to avoid permission denials
Shell.su("mv ${apk.file?.path} $newPath").exec()
val command = Shell.su("pm install $newPath").exec()
Shell.su("rm $newPath").exec()
if (command.isSuccess) {