Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 2d6e5db

Browse files
committed
Add a fallback for osm0sis modules.
1 parent 2e84e46 commit 2d6e5db

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/src/main/java/com/fox2code/mmm/utils/PropUtils.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,13 @@ public class PropUtils {
6868
final String GH_UC = "https://raw.githubusercontent.com/";
6969
moduleUpdateJsonFallbacks.put("BluetoothLibraryPatcher",
7070
GH_UC + "3arthur6/BluetoothLibraryPatcher/master/update.json");
71-
moduleUpdateJsonFallbacks.put("busybox-ndk",
72-
GH_UC + "Magisk-Modules-Repo/busybox-ndk/master/update.json");
7371
moduleUpdateJsonFallbacks.put("Detach",
7472
GH_UC + "xerta555/Detach-Files/blob/master/Updater.json");
73+
for (String module : new String[]{"busybox-ndk", "adb-ndk", "twrp-keep",
74+
"adreno-dev", "nano-ndk", "zipsigner", "nexusmedia", "mtd-ndk"}) {
75+
moduleUpdateJsonFallbacks.put(module,
76+
GH_UC + "Magisk-Modules-Repo/" + module + "/master/update.json");
77+
}
7578
moduleUpdateJsonFallbacks.put("riru_ifw_enhance", "https://github.com/" +
7679
"Kr328/Riru-IFWEnhance/releases/latest/download/riru-ifw-enhance.json");
7780
moduleUpdateJsonFallbacks.put("zygisk_ifw_enhance", "https://github.com/" +

0 commit comments

Comments
 (0)