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}