mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-04-29 22:24:34 +02:00
file arch
This commit is contained in:
parent
cddabd6285
commit
52bb991ea6
4
build.sh
4
build.sh
@ -143,6 +143,10 @@ for table_name in $(toml_get_table_names); do
|
||||
} || app_args[archive_dlurl]=""
|
||||
if [ -z "${app_args[dl_from]:-}" ]; then abort "ERROR: no 'apkmirror_dlurl', 'uptodown_dlurl' or 'apkmonk_dlurl' option was set for '$table_name'."; fi
|
||||
app_args[arch]=$(toml_get "$t" apkmirror-arch) || app_args[arch]="universal"
|
||||
if [ "${app_args[arch]}" != "universal" ] && [[ "${app_args[arch]}" != "arm64-v8a"* ]] && [[ "${app_args[arch]}" != "arm-v7a"* ]]; then
|
||||
abort "wrong arch '${app_args[arch]}' for '$table_name'"
|
||||
fi
|
||||
|
||||
app_args[include_stock]=$(toml_get "$t" include-stock) || app_args[include_stock]=true && vtf "${app_args[include_stock]}" "include-stock"
|
||||
app_args[merge_integrations]=$(toml_get "$t" merge-integrations) || app_args[merge_integrations]=true && vtf "${app_args[merge_integrations]}" "merge-integrations"
|
||||
app_args[dpi]=$(toml_get "$t" apkmirror-dpi) || app_args[dpi]="nodpi"
|
||||
|
Loading…
x
Reference in New Issue
Block a user