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