Add an alert that OpenGApps will fail to start

Close #371
This commit is contained in:
Howard20181 2023-01-29 03:47:34 +08:00
parent b84eb4063f
commit 312cc188e0
3 changed files with 10 additions and 4 deletions

View file

@ -133,6 +133,10 @@
No. You should wipe data after changing the GApps brand. Otherwise, you will find that the installed GApps are not recognized.
- WSA with OpenGApps integrated fails to start.
OpenGApps has not yet released a version built for Android 12L and 13, only built for Android 11, which may not be compatible and thus cause crashes. Consider switching to MindTheGapps.
## Credits
- [StoreLib](https://github.com/StoreDev/StoreLib): API for downloading WSA

View file

@ -779,8 +779,10 @@ else
else
name2="-$GAPPS_BRAND-${ANDROID_API_MAP[$ANDROID_API]}"
fi
if [ "$GAPPS_BRAND" = "OpenGApps" ] && [ "$DEBUG" ]; then
echo ":warning: Since OpenGApps doesn't officially support Android 12.1 yet, lock the variant to pico!"
if [ "$GAPPS_BRAND" = "OpenGApps" ]; then
echo -e "\033[0;31m:warning: Since $GAPPS_BRAND doesn't officially support Android 12.1 and 13 yet, lock the variant to pico!
$GAPPS_BRAND may cause startup failure
\033[0m"
fi
fi
artifact_name="WSA_${WSA_VER}_${ARCH}_${WSA_REL}${name1}${name2}"

View file

@ -82,8 +82,8 @@ if (YesNoBox '([title]="Install GApps" [text]="Do you want to install GApps?")')
Radiolist '([title]="Which GApps do you want to install?"
[default]="MindTheGapps")' \
\
'OpenGApps' "" 'off' \
'MindTheGapps' "" 'on'
'OpenGApps' "This flavor may cause startup failure" 'off' \
'MindTheGapps' "Recommend" 'on'
)
else
GAPPS_BRAND="none"