This commit is contained in:
Howard Wu 2021-10-26 18:19:47 +08:00
parent 15188b0080
commit d27037b98e

View File

@ -1,6 +1,7 @@
## Magisk on WSA # Magisk on WSA
## Usage
### Usage
1. Fork this repo 1. Fork this repo
1. Go to Action tab and select workflow `Magisk`, click the run button and enter the needed infomation (architecture and magisk apk download link) 1. Go to Action tab and select workflow `Magisk`, click the run button and enter the needed infomation (architecture and magisk apk download link)
1. Wait the action complete and download the artifact 1. Wait the action complete and download the artifact
@ -9,9 +10,10 @@
1. Enable deveop mode on Windows 1. Enable deveop mode on Windows
1. Open powershell with admin permission and run `Add-AppxPackage -Register .\AppxManifest.xml` under the unzipped artifact directory 1. Open powershell with admin permission and run `Add-AppxPackage -Register .\AppxManifest.xml` under the unzipped artifact directory
1. Launch WSA and enable develop mode, launch the file manager, and wait until the file manager popup 1. Launch WSA and enable develop mode, launch the file manager, and wait until the file manager popup
1. `adb connect localhost:58526` to connect` to connect to WSA and install Magisk app (the one you use to build) and launch it 1. Run `adb connect localhost:58526` to connect to WSA and install Magisk app (the one you use to build) and launch it
1. Fix the environment as Magisk app will prompt and reboot 1. Fix the environment as Magisk app will prompt and reboot
1. Enjoy by installing Riru and LSPosed 1. Enjoy by installing Riru and LSPosed
### Prebuilt Magisk ## Prebuilt Magisk
There's still a bug from Magisk that prevents it from running on WSA. So please don't use the official build yet. The download link of the prebuilt Magisk is: [https://raw.githubusercontent.com/LSPosed/MagiskOnWSA/main/magisk.apk](https://raw.githubusercontent.com/LSPosed/MagiskOnWSA/main/magisk.apk) and its source codes are on the magisk branch. There's still a bug from Magisk that prevents it from running on WSA. So please don't use the official build yet. The download link of the prebuilt Magisk is: [https://raw.githubusercontent.com/LSPosed/MagiskOnWSA/main/magisk.apk](https://raw.githubusercontent.com/LSPosed/MagiskOnWSA/main/magisk.apk) and its source codes are on the magisk branch.