From dadba44cf901363413b8e7cb192ab20e873b1c92 Mon Sep 17 00:00:00 2001 From: Wang Han <416810799@qq.com> Date: Sun, 15 Dec 2024 12:44:32 +0800 Subject: [PATCH] Update module installer guide about META-INF --- docs/guides.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides.md b/docs/guides.md index b11720c35..3ce58fb76 100644 --- a/docs/guides.md +++ b/docs/guides.md @@ -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` @@ -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