update SetupWizard

merge-requests/23/head
Christopher Roy Bratusek 6 years ago
parent fc1f4bf29a
commit 57c8ebfdc2

@ -28,7 +28,6 @@
* new setup variable `nanodroid_gmscore`, selects which microG GmsCore to install
* 0 = install NanoDroid's [custom microG GmsCore](https://github.com/Nanolx/android_packages_apps_GmsCore)
* 1 = install [official microG GmsCore](https://github.com/microg/android_packages_apps_GmsCore)
* CommonInstaller
* NanoDroid installation log now contains whether install was successful or not
@ -43,6 +42,9 @@
* Uninstaller
* now also uninstalls the BromiteWebView package
* SetupWizard
* add new `nanodroid_gmscore` variable
* build-package Script
* move to stable Amaze build

@ -88,6 +88,17 @@ selectbox(
"Minimal", "Install microG [GmsCore, Nominatim]", 0 #-- selected.1 = 3
);
selectbox(
"microG GmsCore",
"microG GmsCore",
"icons/update",
"gmscore.prop",
"Select which microG GmsCore to install (if any)", "", 2, #-- Group 1. key = "selected.1"
"NanoDroid", "custom NanoDroid microG GmsCore with beta state code merged", 1, #-- selected.1 = 1
"Official", "official microG GmsCore", 0 #-- selected.1 = 2
);
selectbox(
"nlpBackends",
"nlpBackends",

@ -48,6 +48,7 @@ debloat_prop="${aromapath}/debloat.prop"
location_prop="${aromapath}/location.prop"
nlp_prop="${aromapath}/nlp.prop"
ug_prop="${aromapath}/ug.prop"
gmscore_prop="${aromapath}/gmscore.prop"
ui_print " "
ui_print "******************************"
@ -140,6 +141,14 @@ elif grep -q "selected.1=3" "${ug_prop}"; then
echo "nanodroid_microg=2" >> "${nanodroid_setup}"
fi
if grep -q "selected.1=1" "${gmscore_prop}"; then
ui_print " <>> setting property: nanodroid_gmscore [custom]"
echo "nanodroid_gmscore=0" >> "${nanodroid_setup}"
elif grep -q "selected.1=2" "${gmscore_prop}"; then
ui_print " <>> setting property: nanodroid_gmscore [official]"
echo "nanodroid_gmscore=1" >> "${nanodroid_setup}"
fi
ui_print " "
ui_print " < Installed Applications"

Loading…
Cancel
Save