mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
update CommonInstaller for new Radiocell nlp backend
This commit is contained in:
parent
71c8870139
commit
7f8bfa0889
@ -753,6 +753,11 @@ install_microg () {
|
||||
NLPSTRING="${NLPSTRING}, Apple"
|
||||
fi
|
||||
|
||||
if "${nanodroid_nlpbackend:3:1}" -eq 1 ]; then
|
||||
NLPBACKEND="${NLPBACKEND} nlpBackendRadiocell"
|
||||
NLPSTRING="${NLPSTRING}, Radiocell"
|
||||
fi
|
||||
|
||||
ui_print " << with microg [${NLPSTRING}]"
|
||||
|
||||
if [ "${nanodroid_gmscore}" -eq 1 ]; then
|
||||
@ -1453,6 +1458,14 @@ check_cfg_setup () {
|
||||
set_prop nanodroid_nlpbackend "${tmp_prop}"
|
||||
fi
|
||||
|
||||
# in NanoDroid 20.5 nanodroid_nlpbackend has changed
|
||||
if [ "${#nanodroid_nlpbackend}" -eq 3 ]; then
|
||||
tmp_prop="${nanodroid_nlpbackend}0"
|
||||
|
||||
sed -e '/^nanodroid_nlpbackend/d' -i "${cfg_setup}"
|
||||
set_prop nanodroid_nlpbackend "${tmp_prop}"
|
||||
fi
|
||||
|
||||
[ -z "${nanodroid_bash}" ] && set_prop nanodroid_bash 1
|
||||
[ -z "${nanodroid_nano}" ] && set_prop nanodroid_nano 1
|
||||
[ -z "${nanodroid_utils}" ] && set_prop nanodroid_utils 1
|
||||
|
Loading…
Reference in New Issue
Block a user