You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Refactor shell (again)
This commit is contained in:
@@ -19,8 +19,8 @@ public class LoadModules extends ParallelTask<Void, Void, Void> {
|
||||
if (mm == null) return null;
|
||||
mm.moduleMap = new ValueSortedMap<>();
|
||||
|
||||
for (String path : Utils.getModList(getShell(), MagiskManager.MAGISK_PATH)) {
|
||||
Module module = new Module(getShell(), path);
|
||||
for (String path : Utils.getModList(MagiskManager.MAGISK_PATH)) {
|
||||
Module module = new Module(path);
|
||||
mm.moduleMap.put(module.getId(), module);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user