Skip to content

Commit

Permalink
update dl_apkmirror
Browse files Browse the repository at this point in the history
  • Loading branch information
j-hc committed Jan 15, 2023
1 parent 6fe6368 commit 35034c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ dl_apkmirror() {
return
fi
local resp
version=${version// /-}
url="${url}/${url##*/}-${version//./-}-release/"
resp=$(req "$url" -) || return 1
url="https://www.apkmirror.com$(echo "$resp" | tr '\n' ' ' | sed -n "s/href=\"/@/g; s;.*${regexp}.*;\1;p")"
Expand Down Expand Up @@ -277,6 +278,7 @@ build_rv() {
fi
echo "Choosing version '${version}' (${app_name})"

version=${version// /-}
local stock_apk="${TEMP_DIR}/${pkg_name}-stock-${version}-${arch}.apk"
local apk_output="${BUILD_DIR}/${app_name_l}-revanced-v${version}-${arch}.apk"
if [ "${args[microg_patch]}" ]; then
Expand Down

0 comments on commit 35034c1

Please sign in to comment.