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

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sn-o-w committed Jan 30, 2023
2 parents 9cd6d9c + 312cc18 commit bbfac7e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,18 @@
> - Extract the package and execute `run.bat`. <br />
> - Ask your queries in [discussion](https://github.com/rabilrbl/WSA-Magisk/discussions).
:warning: For fork developers: Please [use the GitHub Support virtual assistant chatbot](https://support.github.com/contact?flow=detach_fork&subject=Detach%20Fork&tags=rr-forks) to detach your fork from [upstream](https://github.com/creative-builds/WSA-Magisk) before building with GitHub Actions, as GitHub will count your forked GitHub Actions usage against this upstream repository, which may cause this upstream repository gets disabled by GitHub staff because of numerous forks building GitHub Actions, and counting the forks' Action usage against this upstream repository.

We are not against forks, but please detach them from our repository. If you do not make changes one day after receiving the detachment request, our organization will ban you.

<details>
<summary>How to detach your fork from this upstream repository (a visual guide):</summary>
<p>
<img src="https://user-images.githubusercontent.com/96967473/194208623-194e5926-feb9-4172-b57f-a82179245d02.png" title="How to detach form using GitHub Support virtual assistant chatbot">
</p>
</details>
:warning: For fork developers: Please don't build using GitHub Actions, as GitHub will count your forked GitHub Actions usage against this upstream repository, which may cause this upstream repository gets disabled by GitHub staff like [MagiskOnWSA](https://github.com/LSPosed/MagiskOnWSA) because of numerous forks building GitHub Actions, and counting the forks' Action usage against this upstream repository.

## Support for generating from these systems

- Linux (x86_64 or arm64)

The following dependencies are required: `setools lzip wine patchelf e2fsprogs aria2 python3 attr`
The following dependencies are required:

| DistrOS | | | | |
|:-------:|-------------------------------------------------------------------------------------------------|-------------------|------------|-----------|
| Debian | `lzip wine winetricks patchelf e2fsprogs aria2 python3 python3-pip aria2 p7zip-full attr unzip` | `setools` | `whiptail` | `xz-util` |
| SuSE | Same as above | `setools-console` | `dialog` | `xz` |

The following components need to be installed using `winetricks`: `msxml6`

Expand Down Expand Up @@ -159,6 +155,10 @@ We are not against forks, but please detach them from our repository. If you do

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 All @@ -169,4 +169,4 @@ We are not against forks, but please detach them from our repository. If you do

_The repository is provided as a utility._

_Android is a trademark of Google LLC. Windows is a trademark of Microsoft LLC._
_Android is a trademark of Google LLC. Windows is a trademark of Microsoft LLC._
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-${RELEASE_NAME}${name1}${name2}_${WSA_VER}_${ARCH}_${WSA_REL}"
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 bbfac7e

Please sign in to comment.