Created downloadRelease (markdown)

VoltZ
2019-11-07 04:20:06 +01:00
parent 6d3835f259
commit 90b6f29d38
+22
@@ -0,0 +1,22 @@
The Function `downloadRelease` contains 4 Parameters, but it can have 5, if you like to include `prereleases` as well.
`repo` -> The Repository from which to download.
`file` -> The Name of the File.
`output` -> Where should the File be placed?
*optional* `prerelease` -> `true / false`!
`message` -> The Message which should be displayed while downloading.
You can find an example here:
```
{
"type": "downloadRelease",
"repo": "Universal-Team/Universal-Updater",
"file": "Universal-Updater.cia",
"output": "sdmc:/Universal-Updater.cia",
"prereleases": false,
"message": "Downloading Universal-Updater.cia"
}