mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-04-29 22:24:34 +02:00
module: add patches version in module.prop
This commit is contained in:
parent
5efca513dd
commit
e65a2968ba
6
utils.sh
6
utils.sh
@ -592,10 +592,12 @@ build_rv() {
|
|||||||
local upj="${table,,}-update.json"
|
local upj="${table,,}-update.json"
|
||||||
|
|
||||||
module_config "$base_template" "$pkg_name" "$version" "$arch"
|
module_config "$base_template" "$pkg_name" "$version" "$arch"
|
||||||
|
|
||||||
|
local rv_patches_ver="${rv_patches_jar##*-}"
|
||||||
module_prop \
|
module_prop \
|
||||||
"${args[module_prop_name]}" \
|
"${args[module_prop_name]}" \
|
||||||
"${app_name} ${args[rv_brand]}" \
|
"${app_name} ${args[rv_brand]}" \
|
||||||
"$version" \
|
"${version} (patches: ${rv_patches_ver%%.rvp})" \
|
||||||
"${app_name} ${args[rv_brand]} Magisk module" \
|
"${app_name} ${args[rv_brand]} Magisk module" \
|
||||||
"https://raw.githubusercontent.com/${GITHUB_REPOSITORY-}/update/${upj}" \
|
"https://raw.githubusercontent.com/${GITHUB_REPOSITORY-}/update/${upj}" \
|
||||||
"$base_template"
|
"$base_template"
|
||||||
@ -628,7 +630,7 @@ MODULE_ARCH=$ma" >"$1/config"
|
|||||||
module_prop() {
|
module_prop() {
|
||||||
echo "id=${1}
|
echo "id=${1}
|
||||||
name=${2}
|
name=${2}
|
||||||
version=v${3} (${NEXT_VER_CODE})
|
version=v${3}
|
||||||
versionCode=${NEXT_VER_CODE}
|
versionCode=${NEXT_VER_CODE}
|
||||||
author=j-hc
|
author=j-hc
|
||||||
description=${4}" >"${6}/module.prop"
|
description=${4}" >"${6}/module.prop"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user