Skip to content

Commit

Permalink
Update module installer guide about META-INF
Browse files Browse the repository at this point in the history
  • Loading branch information
aviraxp authored and topjohnwu committed Dec 18, 2024
1 parent 2ce4a55 commit dadba44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ If your module requires some additional sepolicy patches, please add those rules

## Magisk Module Installer

A Magisk module installer is a Magisk module packaged in a zip file that can be flashed in the Magisk app or custom recoveries such as TWRP. The simplest Magisk module installer is just a Magisk module packed as a zip file, in addition to the following files:
A Magisk module installer is a Magisk module packaged in a zip file that can be flashed in the Magisk app or custom recoveries such as TWRP. The simplest Magisk module installer is just a Magisk module packed as a zip file, in addition to the following files only if the module supports flashing in recovery:

- `update-binary`: Download the latest [module_installer.sh](https://github.com/topjohnwu/Magisk/blob/master/scripts/module_installer.sh) and rename/copy that script as `update-binary`
- `updater-script`: This file should only contain the string `#MAGISK`
Expand All @@ -148,7 +148,7 @@ The module installer script will setup the environment, extract the module files
```
module.zip
├── META-INF
├── META-INF <--- Only needed for flashing in recovery
│ └── com
│ └── google
│ └── android
Expand Down

0 comments on commit dadba44

Please sign in to comment.