You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 23, 2024. It is now read-only.
|repo_name| required | Name of your module repository |
100
-
|repo_url| required | Need to end with `/`|
101
-
|max_num| optional | Max number of keeping old version modules, default value is 3|
102
-
|show_log| optional |If false, the log will never be showed and stored, default value is true |
103
-
|log_dir| optional |If defined, the log file will be stored in this directory|
101
+
|NAME| required | Name of your module repository |
102
+
|BASE_URL| required | Need to end with `/`|
103
+
|MAX_NUM| optional | Max num of versions for modules, default is `3`|
104
+
|ENABLE_LOG| optional | default is `true`|
105
+
|LOG_DIR| optional |default is `null`|
104
106
105
107
## track.json
106
108
```json
107
109
{
108
-
"id": "required",
109
-
"update_to": "required",
110
-
"license": "optional",
111
-
"changelog": "optional"
110
+
"id": "str",
111
+
"update_to": "str",
112
+
"changelog": "str",
113
+
"license": "str",
114
+
"homepage": "str",
115
+
"source": "str",
116
+
"support": "str",
117
+
"donate": "str",
118
+
"max_num": "int"
112
119
}
113
120
```
114
121
| Key | Attribute | Description |
115
122
|:-:|:-:|:-:|
116
-
| id | required | Id of the module itself |
117
-
| update_to | required | Url of updateJson or zipFile, or file name of zipFile, or url of a git repository (end with `.git`) |
123
+
| id | required | Id of Module (_in `module.prop`_) |
124
+
| update_to | required | Follow examples below |
125
+
| changelog | optional | Markdown or Simple Text (**_no HTML_**) |
118
126
| license | optional | SPDX ID |
119
-
| changelog | optional | Url of changelog.md or file name of changelog.md (markdown is the best, simple text is also ok, **no html**) |
127
+
| homepage | optional | Url |
128
+
| source | optional | Url |
129
+
| support | optional | Url |
130
+
| donate | optional | Url |
131
+
| max_num | optional | Overload `MAX_NUM` in config.json |
120
132
121
133
### Update from updateJson
122
-
This is for those modules that provide [updateJson](https://topjohnwu.github.io/Magisk/guides.html#moduleprop).
134
+
> For those modules that provide [updateJson](https://topjohnwu.github.io/Magisk/guides.html#moduleprop).
123
135
124
136
```json
125
137
{
@@ -130,10 +142,7 @@ This is for those modules that provide [updateJson](https://topjohnwu.github.io/
130
142
```
131
143
132
144
### Update from local updateJson
133
-
The `update_to` requires a relative directory of *local*.
134
-
1. Create a new folder named *local* in *your-repo*
135
-
2. Put the update.json into *local*
136
-
145
+
> `update_to` requires a relative directory of *local*.
137
146
```json
138
147
{
139
148
"id": "zygisk_lsposed",
@@ -143,9 +152,7 @@ The `update_to` requires a relative directory of *local*.
143
152
```
144
153
145
154
### Update from url
146
-
This is for those have a same url to release new modules.
147
-
- If url has changed, you have to edit it.
148
-
155
+
> For those have a same url to release new modules.
149
156
```json
150
157
{
151
158
"id": "zygisk_lsposed",
@@ -156,8 +163,7 @@ This is for those have a same url to release new modules.
156
163
```
157
164
158
165
### Update from git
159
-
This is for those you can **get the module by packaging all files** in the repository, such as [Magisk-Modules-Repo](https://github.com/Magisk-Modules-Repo) and [Magisk-Modules-Alt-Repo](https://github.com/Magisk-Modules-Alt-Repo).
160
-
- If you are looking how to add *Magisk-Modules-Alt-Repo* to *MRepo*, you can refer to [ya0211/magisk-modules-alt-repo](https://github.com/ya0211/magisk-modules-alt-repo).
166
+
> For those we can get module by packaging all files in the repository, such as [Magisk-Modules-Repo](https://github.com/Magisk-Modules-Repo) and [Magisk-Modules-Alt-Repo](https://github.com/Magisk-Modules-Alt-Repo).
161
167
162
168
```json
163
169
{
@@ -169,9 +175,7 @@ This is for those you can **get the module by packaging all files** in the repos
169
175
```
170
176
171
177
### Update from local zip
172
-
The `update_to` requires a relative directory of *local*.
173
-
1. Create a new folder named *local* in *your-repo*
174
-
2. Put the zip file (and changelog.md) into *local*
178
+
> `update_to` and `changelog` requires a relative directory of *local*.
175
179
176
180
```json
177
181
{
@@ -185,10 +189,8 @@ The `update_to` requires a relative directory of *local*.
185
189
## For developer
186
190
```
187
191
your-repo
188
-
├── config
189
-
│ └── config.json
190
-
│
191
192
├── json
193
+
│ ├── config.json
192
194
│ └── modules.json
193
195
│
194
196
├── local
@@ -216,41 +218,19 @@ your-repo
216
218
│
217
219
└── util
218
220
```
219
-
### modules.json
220
-
```json
221
-
{
222
-
"name": "{repo_name}",
223
-
"timestamp": 1679036889.233794,
224
-
"modules": [
225
-
{
226
-
"id": "zygisk_lsposed",
227
-
"license": "GPL-3.0",
228
-
"name": "Zygisk - LSPosed",
229
-
"version": "v1.8.6 (6712)",
230
-
"versionCode": 6712,
231
-
"author": "LSPosed Developers",
232
-
"description": "Another enhanced implementation of Xposed Framework. Supports Android 8.1 ~ 13. Requires Magisk 24.0+ and Zygisk enabled.",
0 commit comments