added -r option for root music installer

This commit is contained in:
X1nto 2021-04-18 14:58:04 +04:00
parent aeaa0d445e
commit ebf9e8031b
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ object PackageHelper {
//moving apk to tmp folder in order to avoid permission denials
Shell.su("mv ${apk.path} $newPath").exec()
val command = Shell.su("pm install $newPath").exec()
val command = Shell.su("pm install -r $newPath").exec()
Shell.su("rm $newPath").exec()
if (command.isSuccess) {
return true