33Note: This doc assume you already read the
44[ official Magisk module developer guide] ( https://topjohnwu.github.io/Magisk/guides.html )
55
6- Also note that * Fox's Magisk Module Manager* will be shorten to fox * Fox's Mmm* in this doc
7-
8- Index:
6+ Index:
97- [ Properties] ( DEVELOPERS.md#properties )
108- [ Installer commands] ( DEVELOPERS.md#installer-commands )
119
1210## Properties
1311
1412In addition to the following magisk properties
1513``` properties
14+ # Magisk supported properties
1615id =<string>
1716name =<string>
1817version =<string>
@@ -21,7 +20,7 @@ author=<string>
2120description =<string>
2221```
2322
24- This the app manager support these new properties
23+ This the manager support these new properties
2524``` properties
2625# Fox's Mmm supported properties
2726minApi =<int>
@@ -39,12 +38,13 @@ config=<package>
3938- ` support ` support link to direct users when they need support for you modules
4039- ` donate ` donate link to direct users to where they can financially support your project
4140- ` config ` package name of the application that configure your module
42- (Note: Locally installed module don 't show the button on the install screen )
41+ (Note: The icon won 't appear in the module list if the module and target app is not installed )
4342
4443Note: Fox's Mmm use fallback
4544[ here] ( app/src/main/java/com/fox2code/mmm/utils/PropUtils.java#L21 )
4645for some modules
47- Theses values are only used if not defined in the ` module.prop ` files
46+ Theses values are only used if not defined in the ` module.prop ` files
47+ So the original module maker can still override them
4848
4949## Installer commands
5050
@@ -56,7 +56,8 @@ All the commands start with it `#!`, by default the manager process command as l
5656unless ` #!useExt ` is sent to indicate that the app is ready to use commands
5757
5858Commands:
59- - ` useExt ` : Enable the execution of commands
59+ - ` useExt ` : Tell the manager you would like to use commands
60+ (Note: Any command executed before this one will just appear as log in the console)
6061- ` addLine <arg> ` : Add line to the terminal, this commands can be useful if
6162 you want to display text that start with ` #! ` inside the terminal
6263- ` setLastLine <arg> ` : Set the last line of text displayed in the terminal
@@ -66,9 +67,8 @@ Commands:
6667- ` showLoading ` : Show an indeterminate progress bar
6768 (Note: the bar is automatically hidden when the install finish)
6869- ` hideLoading ` : Hide the indeterminate progress bar if previously shown
69- - ` setSupportLink <url> ` : Set support link when loading finishes
70- (Note: It override the config button if loaded from repo, it's recommended
71- to only use this command when the script fail, or don't have any config app)
70+ - ` setSupportLink <url> ` : Set support link to show when the install finish
71+ (Note: Modules installed from repo will not show the config button if a link is set)
7272
7373Note:
7474The current behavior with unknown command is to ignore them,
@@ -91,6 +91,7 @@ And there is an instance of it in use
9191mmm_exec showLoading
9292ui_print " The installer doesn't support mmm_exec"
9393mmm_exec setLastLine " The installer support mmm_exec"
94+ # Wait simulate module doing something
9495sleep 5
9596mmm_exec hideLoading
9697mmm_exec setSupportLink https://github.com/Fox2Code/FoxMagiskModuleManager
0 commit comments