|
|
|
@ -64,7 +64,8 @@ public enum ActionButtonType {
|
|
|
|
String updateZipUrl = moduleHolder.getUpdateZipUrl();
|
|
|
|
String updateZipUrl = moduleHolder.getUpdateZipUrl();
|
|
|
|
if (updateZipUrl == null) return;
|
|
|
|
if (updateZipUrl == null) return;
|
|
|
|
// Androidacy manage the selection between download and install
|
|
|
|
// Androidacy manage the selection between download and install
|
|
|
|
if (updateZipUrl.startsWith("https://www.androidacy.com/")) {
|
|
|
|
if (updateZipUrl.startsWith("https://www.androidacy.com/") ||
|
|
|
|
|
|
|
|
updateZipUrl.startsWith("https://api.androidacy.com/magisk/info/?module=")) {
|
|
|
|
IntentHelper.openUrlAndroidacy(
|
|
|
|
IntentHelper.openUrlAndroidacy(
|
|
|
|
button.getContext(), updateZipUrl, true,
|
|
|
|
button.getContext(), updateZipUrl, true,
|
|
|
|
moduleInfo.name, moduleInfo.config);
|
|
|
|
moduleInfo.name, moduleInfo.config);
|
|
|
|
|