mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-04-29 22:24:34 +02:00
arch fallback
This commit is contained in:
parent
574644ad9d
commit
26ae60b118
@ -38,16 +38,16 @@ apkmirror-arch = "both"
|
||||
|
||||
[Twitter]
|
||||
build-mode = "apk"
|
||||
uptodown-dlurl = "https://twitter.uptodown.com/android"
|
||||
uptodown-dlurl = "https://twitter.en.uptodown.com/android"
|
||||
|
||||
[Twitch]
|
||||
uptodown-dlurl = "https://twitch-app.uptodown.com/android"
|
||||
uptodown-dlurl = "https://twitch-app.en.uptodown.com/android"
|
||||
|
||||
[TikTok]
|
||||
uptodown-dlurl = "https://tiktok.uptodown.com/android"
|
||||
uptodown-dlurl = "https://tiktok.en.uptodown.com/android"
|
||||
|
||||
[Reddit]
|
||||
uptodown-dlurl = "https://reddit-official-app.uptodown.com/android"
|
||||
uptodown-dlurl = "https://reddit-official-app.en.uptodown.com/android"
|
||||
|
||||
[Lightroom]
|
||||
enabled = false
|
||||
|
4
utils.sh
4
utils.sh
@ -191,6 +191,10 @@ dl_apkmirror() {
|
||||
local resp node app_table dlurl=""
|
||||
if [ "$arch" = universal ]; then
|
||||
apparch=(universal noarch 'arm64-v8a + armeabi-v7a')
|
||||
elif [ "$arch" = "arm64-v8a" ]; then
|
||||
apparch=(arm64-v8a universal)
|
||||
elif [ "$arch" = "armeabi-v7a" ]; then
|
||||
apparch=(armeabi-v7a universal)
|
||||
else apparch=("$arch"); fi
|
||||
url="${url}/${url##*/}-${version//./-}-release/"
|
||||
resp=$(req "$url" -) || return 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user