Support Magisk's new update channel (#1545)

This commit is contained in:
LoveSy 2022-01-19 22:45:02 +08:00 committed by GitHub
parent efe6ed1288
commit fcf667b980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -205,6 +205,7 @@ fun afterEval() = android.applicationVariants.forEach { variant ->
"versionName" to "v$verName",
"versionCode" to verCode,
"authorList" to authors,
"updateJson" to "https://lsposed.github.io/LSPosed/release/${flavorLowered}.json",
"requirement" to when (flavorLowered) {
"riru" -> "Requires Riru $moduleMinRiruVersionName or above installed"
"zygisk" -> "Requires Magisk 24.0+ and Zygisk enabled"

View File

@ -4,3 +4,4 @@ version=${versionName} (${versionCode})
versionCode=${versionCode}
author=${authorList}
description=Another enhanced implementation of Xposed Framework. Supports Android 8.1 ~ 12, 12L Beta1. ${requirement}.
updateJson=${updateJson}