Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
Add an alert that OpenGApps will fail to start
Browse files Browse the repository at this point in the history
Close #371
  • Loading branch information
Howard20181 committed Jan 28, 2023
1 parent b84eb40 commit 312cc18
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
4 changes: 2 additions & 2 deletions scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 312cc18

Please sign in to comment.