diff --git a/downloadRelease.md b/downloadRelease.md new file mode 100644 index 0000000..9220c9d --- /dev/null +++ b/downloadRelease.md @@ -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" + } \ No newline at end of file