changed stub install method

This commit is contained in:
X1nto 2020-06-25 18:23:44 +04:00
parent 48c0d5ca17
commit 22f5ee30c6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class StubInstaller: Service() {
copyStub()
}
Log.d("AppLog", "Installing stub...")
val installResult = Shell.su("cat \"${apkFile.absolutePath}\" | pm install -t -S ${apkFile.length()}").exec()
val installResult = Shell.su("pm install ${apkFile.absolutePath}").exec()
Log.d("AppLog", "succeeded installing?${installResult.isSuccess}")
if (installResult.isSuccess) {
val mIntent = Intent(HomeFragment.SIGNATURE_DISABLED)