Commit a3ec203e authored by Buxdehuda's avatar Buxdehuda

Add instructions

parent 52d685de
Pipeline #41579442 passed with stage
in 8 minutes and 14 seconds
# How to add new apps
## Step 1
Add a new metadata file in `fdroid/metadata`
Use existing files as a reference or take a look here: [F-Droid Metadata Reference](https://f-droid.org/en/docs/Build_Metadata_Reference/)
## Step 2
Add new download information in [apks.json](../blob/master/apks.json):
```json
{
"baseUrl": "https://example.org/download/App-{ver}-{arch}.apk",
"architectures": ["arm", "x86"],
"version": {
"url": "https://example.org/versions.json",
"json": [0, "version"]
},
"ignoreErrors": false
}
```
Everything except `baseUrl` is optional.
`{ver}` and `{arch}` will get automatically replaced with the corresponding version and all architectures.
Note that you can use a single `regex` string instead of `json` to query the version.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment