From f8eee8c8c832b04ceac3ad41fb98f14266fd3e4d Mon Sep 17 00:00:00 2001 From: RikkaW Date: Sun, 6 Mar 2022 01:34:34 +0800 Subject: [PATCH] Add updateJson --- module/build.gradle | 3 +++ template/magisk_module/module.prop | 1 + 2 files changed, 4 insertions(+) diff --git a/module/build.gradle b/module/build.gradle index 11f604e..a33f144 100644 --- a/module/build.gradle +++ b/module/build.gradle @@ -169,6 +169,9 @@ afterEvaluate { description: moduleDescription + " " + ((flavorLowered == "zygisk") ? "This module requires Magisk 24.0+ and Zygisk enabled. DO NOT add SystemUI and Settings to DenyList." : "This module requires Riru $moduleMinRiruVersionName or above."), + updateJson : (flavorLowered == "zygisk") ? + "https://rikkaapps.github.io/release/sui_zygisk.json" : + "https://rikkaapps.github.io/release/sui_riru.json", ]) filter(FixCrLfFilter.class, eol: FixCrLfFilter.CrLf.newInstance("lf")) diff --git a/template/magisk_module/module.prop b/template/magisk_module/module.prop index 236bd20..c39eea3 100644 --- a/template/magisk_module/module.prop +++ b/template/magisk_module/module.prop @@ -4,3 +4,4 @@ version=${version} versionCode=${versionCode} author=${author} description=${description} +updateJson=${updateJson}