Adds latest adb files. Installer now opens WSASettings and Installs Magisk.apk with minimal input from user. (#89)

* Supplies the same Magisk APK version with WSA

Provides the required Magisk APK along with the rest of the files.

* Copy to magisk.apk iff root sol is magisk

* Update README.md

* Adds latest adb and installs Magisk.apk at the end.

* typo error

* typo error

* fix folder error in adb call from install script

* Optimized ADB unzip

* Cleanup temp files during adb extraction

* Automated adb connection and Magisk Install

* Changed Magisk launch command

* fix missing ./ in adb call

* Cleanup adb.zip

* AUtomated install script. No user interaction install.

* Fixed ./adb missing ./

* Edited Readme to remove unnecesary user steps.

* Prepare script for AppxPackage randomly not starting wsaclient.

* Install script now activates Windows 11 developers mode automatically.

* stupid space in the middle of a command fixed

Co-authored-by: LoveSy <shana@zju.edu.cn>
This commit is contained in:
Mioki
2021-11-19 04:58:08 -08:00
committed by GitHub
parent b24f52521e
commit fc3d1562aa
2 changed files with 69 additions and 13 deletions

View File

@@ -7,6 +7,9 @@
- Support both ARM64 and x64
- Support all OpenGApps variants
- Fix external storage access of DocumentUI
- Unatended installation
- Automatically activates developers mode in Windows 11
- Automatically activates developer mode in WSA
## Usage
@@ -22,10 +25,7 @@
1. Wait for the action to complete and download the artifact
![Download](https://docs.github.com/assets/images/help/repository/artifact-drop-down-updated.png)
1. Unzip the artifact and uninstall WSA if you have an official installation or replace the previously unzipped artifact if you have a manual installation
1. Enable developer mode on Windows
1. Right-click `Install.ps1` and select `Run with PowerShell`
1. Launch WSA and enable developer mode, launch the file manager, and wait until the file manager popup
1. If you use Magisk as root solution, make sure you have [Platform tools](https://developer.android.com/studio/releases/platform-tools), run `adb connect localhost:58526` to connect to WSA, `adb install magisk.apk` to install Magisk App (the one you used to build, included in the zip artifacts as `Magisk.apk`), launch it and fix the environment as the Magisk app will prompt and reboot (sometimes it keeps prompting even after environment fix, just ignore it)
1. Enjoy by installing LSPosed-zygisk with zygisk enabled or Riru and LSPosed-riru
## Video Demo