mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
Fix repackaging
This commit is contained in:
@@ -130,12 +130,13 @@ public class HideManager extends ParallelTask<Void, Void, Boolean> {
|
||||
}
|
||||
|
||||
// Install the application
|
||||
if (ShellUtils.fastCmdResult(Shell.getShell(), "pm install " + repack))
|
||||
if (!ShellUtils.fastCmdResult(Shell.getShell(), "pm install " + repack))
|
||||
return false;
|
||||
|
||||
repack.delete();
|
||||
|
||||
mm.suDB.setStrings(Const.Key.SU_REQUESTER, pkg);
|
||||
mm.suDB.flush();
|
||||
Utils.dumpPrefs();
|
||||
Utils.uninstallPkg(Const.ORIG_PKG_NAME);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user