Skip to content

Commit

Permalink
module: add patches version in module.prop
Browse files Browse the repository at this point in the history
  • Loading branch information
j-hc committed Dec 31, 2024
1 parent 5efca51 commit e65a296
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,12 @@ build_rv() {
local upj="${table,,}-update.json"

module_config "$base_template" "$pkg_name" "$version" "$arch"

local rv_patches_ver="${rv_patches_jar##*-}"
module_prop \
"${args[module_prop_name]}" \
"${app_name} ${args[rv_brand]}" \
"$version" \
"${version} (patches: ${rv_patches_ver%%.rvp})" \
"${app_name} ${args[rv_brand]} Magisk module" \
"https://raw.githubusercontent.com/${GITHUB_REPOSITORY-}/update/${upj}" \
"$base_template"
Expand Down Expand Up @@ -628,7 +630,7 @@ MODULE_ARCH=$ma" >"$1/config"
module_prop() {
echo "id=${1}
name=${2}
version=v${3} (${NEXT_VER_CODE})
version=v${3}
versionCode=${NEXT_VER_CODE}
author=j-hc
description=${4}" >"${6}/module.prop"
Expand Down

0 comments on commit e65a296

Please sign in to comment.