From 90b6f29d387b16238fea1fef337b5dec197e3750 Mon Sep 17 00:00:00 2001 From: VoltZ <47382115+SuperSaiyajinVoltZ@users.noreply.github.com> Date: Thu, 7 Nov 2019 04:20:06 +0100 Subject: [PATCH] Created downloadRelease (markdown) --- downloadRelease.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 downloadRelease.md 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