|
|
|
@ -32,11 +32,6 @@ public final class RepoManager {
|
|
|
|
|
public static final String ANDROIDACY_MAGISK_REPO_HOMEPAGE =
|
|
|
|
|
"https://www.androidacy.com/modules-repo";
|
|
|
|
|
|
|
|
|
|
public static final String DG_MAGISK_REPO =
|
|
|
|
|
"https://repo.dergoogler.com/modules.json";
|
|
|
|
|
public static final String DG_MAGISK_REPO_HOMEPAGE =
|
|
|
|
|
"https://github.com/orgs/Googlers-Magisk-Repo/repositories?type=source";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final Object lock = new Object();
|
|
|
|
|
private static volatile RepoManager INSTANCE;
|
|
|
|
@ -68,7 +63,6 @@ public final class RepoManager {
|
|
|
|
|
this.modules = new HashMap<>();
|
|
|
|
|
// We do not have repo list config yet.
|
|
|
|
|
this.addRepoData(MAGISK_ALT_REPO);
|
|
|
|
|
this.addRepoData(DG_MAGISK_REPO);
|
|
|
|
|
this.androidacyRepoData =
|
|
|
|
|
this.addAndroidacyRepoData();
|
|
|
|
|
// Populate default cache
|
|
|
|
@ -244,8 +238,6 @@ public final class RepoManager {
|
|
|
|
|
return "magisk_alt_repo";
|
|
|
|
|
case ANDROIDACY_MAGISK_REPO_ENDPOINT:
|
|
|
|
|
return "androidacy_repo";
|
|
|
|
|
case DG_MAGISK_REPO:
|
|
|
|
|
return "dg_magisk_repo";
|
|
|
|
|
default:
|
|
|
|
|
return "repo_" + Hashes.hashSha1(
|
|
|
|
|
url.getBytes(StandardCharsets.UTF_8));
|
|
|
|
|