mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-31 09:06:47 +00:00
Temporary disable verification when hiding app
For some reason, Google Play Protect randomly blocks our self-signed repackaged Magisk Manager APKs. Since we are root, the sky is our limit, so yeah, disable package verification temporarily when installing patched APKs, LOLz Close #1979
This commit is contained in:
@@ -103,7 +103,7 @@ object PatchAPK {
|
||||
|
||||
// Install the application
|
||||
repack.setReadable(true, false)
|
||||
if (!Shell.su("pm install $repack").exec().isSuccess)
|
||||
if (!Shell.su("force_pm_install $repack").exec().isSuccess)
|
||||
return false
|
||||
|
||||
Config.suManager = pkg
|
||||
|
||||
Reference in New Issue
Block a user