Update README.md

This commit is contained in:
Howard Wu 2023-03-12 19:31:57 +08:00
parent 9a2c93047c
commit a3e152f9a5

View file

@ -56,29 +56,28 @@
## Text Guide
1. Star (if you like)
1. Clone the repo to local
2. Clone the repo to local
```bash
git clone https://github.com/LSPosed/MagiskOnWSALocal.git --depth 1
```
```bash
git clone https://github.com/LSPosed/MagiskOnWSALocal.git --depth 1
```
1. Run `cd scripts`
1. Then run `./build.sh --help` (optional) to get the usage if you want to use CLI.
1. Run `./run.sh` under scripts directory.
1. Select the WSA version and its architecture (mostly x64).
1. Select the version of Magisk.
1. Choose which brand of GApps you want to install
3. Run `cd scripts`
4. Then run `./build.sh --help` (optional) to get the usage if you want to use CLI.
5. Run `./run.sh` under scripts directory.
6. Select the WSA version and its architecture (mostly x64).
7. Select the version of Magisk.
. Choose which brand of GApps you want to install
- OpenGApps
Select the [OpenGApps variant](https://github.com/opengapps/opengapps/wiki#variants) you like.
- MindTheGapps
There is no other variant we can choose.
1. Select the root solution (none means no root)
1. If you are running the script for the first time, it will take some time to complete. After the script completes, two new folders named `output` and `download` will be generated in the `MagiskOnWSALocal` folder. Go to the `output` folder. While running the `./run.sh` script in the step 3, if you selected `Yes` for `Do you want to compress the output?` then in `output` folder you will see a compressed file called `WSA-with-magisk-stable-MindTheGapps_2207.40000.8.0_x64_Release-Nightly`or else there will be folder with the `WSA-with-magisk-stable-MindTheGapps_2207.40000.8.0_x64_Release-Nightly`. If there is a folder open it and skip to step 10. NOTE: The name of compressed file or the folder generated in the `output` folder may be different for you. It will be dependent on the choices made when executing `./run.sh`
1. Extract the compressed file and open the folder created after the extraction of the file.
1. Here look for file `Run.bat` and run it.
8. Select the root solution (none means no root)
9. If you are running the script for the first time, it will take some time to complete. After the script completes, two new folders named `output` and `download` will be generated in the `MagiskOnWSALocal` folder. Go to the `output` folder. While running the `./run.sh` script in the step 3, if you selected `Yes` for `Do you want to compress the output?` then in `output` folder you will see a compressed file called `WSA-with-magisk-stable-MindTheGapps_2207.40000.8.0_x64_Release-Nightly`or else there will be folder with the `WSA-with-magisk-stable-MindTheGapps_2207.40000.8.0_x64_Release-Nightly`. If there is a folder open it and skip to step 10. NOTE: The name of compressed file or the folder generated in the `output` folder may be different for you. It will be dependent on the choices made when executing `./run.sh`
10. Extract the compressed file and open the folder created after the extraction of the file.
11. Here look for file `Run.bat` and run it.
- If you previously have a MagiskOnWSA installation, it will automatically uninstall the previous one while **preserving all user data** and install the new one, so don't worry about your data.
- If you have an official WSA installation, you should uninstall it first. (In case you want to preserve your data, you can backup `%LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalCache\userdata.vhdx` before uninstallation and restore it after installation.)
- If the popup windows disappear **without asking administrative permission** and WSA is not installed successfully, you should manually run `Install.ps1` as administrator:
@ -87,7 +86,7 @@
3. Input `PowerShell.exe -ExecutionPolicy Bypass -File .\Install.ps1` and press `enter`
4. The script will run and WSA will be installed
5. If this workaround does not work, your PC is not supported for WSA
1. Magisk/Play store will be launched. Enjoy by installing LSPosed-zygisk with zygisk enabled or Riru and LSPosed-riru
12. Magisk/Play store will be launched. Enjoy by installing LSPosed-zygisk with zygisk enabled or Riru and LSPosed-riru
---
@ -109,7 +108,7 @@
For more usage of git, referred to <https://git-scm.com/book>
1. Rerun the script, replace the content of your previous installation and rerun `Install.ps1`. Don't worry, your data will be preserved.
2. Rerun the script, replace the content of your previous installation and rerun `Install.ps1`. Don't worry, your data will be preserved.
- How can I get the logcat from WSA?
`%LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalState\diagnostics\logcat`