This commit is contained in:
Howard Wu 2022-09-01 10:40:35 +08:00
parent 9908c9a909
commit 4142f3b0b9
2 changed files with 4 additions and 1 deletions

View File

@ -115,6 +115,7 @@ usage(){
Example: Example:
./build.sh --arch x64 --release-type retail --magisk-ver stable --gapps-brand OpenGApps --gapps-variant pico --remove-amazon ./build.sh --arch x64 --release-type retail --magisk-ver stable --gapps-brand OpenGApps --gapps-variant pico --remove-amazon
./build.sh --arch x64 --release-type retail --remove-amazon --magisk-custom --offline ./build.sh --arch x64 --release-type retail --remove-amazon --magisk-custom --offline
./build.sh --release-type RP
" "
} }
@ -183,6 +184,7 @@ MAGISK_VER_MAP=(
GAPPS_BRAND_MAP=( GAPPS_BRAND_MAP=(
"OpenGApps" "OpenGApps"
"MindTheGApps" "MindTheGApps"
"none"
) )
GAPPS_VARIANT_MAP=( GAPPS_VARIANT_MAP=(
@ -195,6 +197,7 @@ GAPPS_VARIANT_MAP=(
"pico" "pico"
"tvstock" "tvstock"
"tvmini" "tvmini"
"none"
) )
ROOT_SOL_MAP=( ROOT_SOL_MAP=(

View File

@ -97,7 +97,7 @@ if (YesNoBox '([title]="Install GApps" [text]="Do you want to install GApps?")')
GAPPS_BRAND="OpenGApps" GAPPS_BRAND="OpenGApps"
fi fi
else else
GAPPS_VARIANT="none" GAPPS_BRAND="none"
fi fi
if [ $GAPPS_BRAND = "OpenGApps" ]; then if [ $GAPPS_BRAND = "OpenGApps" ]; then
# TODO: Keep it pico since other variants of opengapps are unable to boot successfully # TODO: Keep it pico since other variants of opengapps are unable to boot successfully